Add basic docs for mapbrowserevent

This commit is contained in:
Marc Jansen
2015-04-23 20:36:57 +02:00
parent b70a39b59d
commit 96f0374b2f

View File

@@ -45,6 +45,7 @@ ol.MapBrowserEvent = function(type, map, browserEvent, opt_dragging,
this.browserEvent = browserEvent;
/**
* The original browser event.
* @const
* @type {Event}
* @api stable
@@ -52,12 +53,14 @@ ol.MapBrowserEvent = function(type, map, browserEvent, opt_dragging,
this.originalEvent = browserEvent.getBrowserEvent();
/**
* The pixel of the original browser event.
* @type {ol.Pixel}
* @api stable
*/
this.pixel = map.getEventPixel(this.originalEvent);
/**
* The coordinate of the original browser event.
* @type {ol.Coordinate}
* @api stable
*/