Stable map browser events
This commit is contained in:
@@ -486,26 +486,29 @@ ol.MapBrowserEventHandler.prototype.disposeInternal = function() {
|
||||
* @enum {string}
|
||||
*/
|
||||
ol.MapBrowserEvent.EventType = {
|
||||
// derived event types
|
||||
|
||||
/**
|
||||
* A true single click with no dragging and no double click. Note that this
|
||||
* event is delayed by 250 ms to ensure that it is not a double click.
|
||||
* @event ol.MapBrowserEvent#singleclick
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
SINGLECLICK: 'singleclick',
|
||||
|
||||
/**
|
||||
* A click with no dragging. A double click will fire two of this.
|
||||
* @event ol.MapBrowserEvent#click
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
CLICK: goog.events.EventType.CLICK,
|
||||
|
||||
/**
|
||||
* A true double click, with no dragging.
|
||||
* @event ol.MapBrowserEvent#dblclick
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
DBLCLICK: goog.events.EventType.DBLCLICK,
|
||||
|
||||
/**
|
||||
* Triggered when a pointer is dragged.
|
||||
* @event ol.MapBrowserEvent#pointerdrag
|
||||
@@ -513,14 +516,14 @@ ol.MapBrowserEvent.EventType = {
|
||||
*/
|
||||
POINTERDRAG: 'pointerdrag',
|
||||
|
||||
// original pointer event types
|
||||
/**
|
||||
* Triggered when a pointer is moved. Note that on touch devices this is
|
||||
* triggered when the map is panned, so is not the same as mousemove.
|
||||
* @event ol.MapBrowserEvent#pointermove
|
||||
* @api
|
||||
* @api stable
|
||||
*/
|
||||
POINTERMOVE: 'pointermove',
|
||||
|
||||
POINTERDOWN: 'pointerdown',
|
||||
POINTERUP: 'pointerup',
|
||||
POINTEROVER: 'pointerover',
|
||||
|
||||
Reference in New Issue
Block a user