Documentation clarification
Clarified the description of the pixel and coordinate attribute of the ol.MapBrowserEvent
This commit is contained in:
@@ -40,14 +40,14 @@ ol.MapBrowserEvent = function(type, map, browserEvent, opt_dragging,
|
|||||||
this.originalEvent = browserEvent;
|
this.originalEvent = browserEvent;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The pixel of the original browser event.
|
* The map pixel relative to the viewport corresponding to the original browser event.
|
||||||
* @type {ol.Pixel}
|
* @type {ol.Pixel}
|
||||||
* @api stable
|
* @api stable
|
||||||
*/
|
*/
|
||||||
this.pixel = map.getEventPixel(browserEvent);
|
this.pixel = map.getEventPixel(browserEvent);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The coordinate of the original browser event.
|
* The geographical coordinate corresponding the original browser event.
|
||||||
* @type {ol.Coordinate}
|
* @type {ol.Coordinate}
|
||||||
* @api stable
|
* @api stable
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user