Members
-
Return
true
if only the alt-key and shift-key is pressed,false
otherwise (e.g. when additionally the platform-modifier-key is pressed). -
Return always true.
-
Return
true
if the event is aclick
event,false
otherwise. -
Return
true
if the event is a mapdblclick
event,false
otherwise. -
Return
true
if the map has the focus. This condition requires a map target element with atabindex
attribute, e.g.<div id="map" tabindex="1">
. -
Return
true
if the event originates from a mouse device. -
Return always false.
-
Return
true
if no modifier key (alt-, shift- or platform-modifier-key) is pressed. -
Return
true
if only the platform-modifier-key (the meta-key on Mac, ctrl-key otherwise) is pressed,false
otherwise (e.g. when additionally the shift-key is pressed). -
Return
true
if the browser event is apointermove
event,false
otherwise. -
Return
true
if the event originates from a primary pointer in contact with the surface or if the left mouse button is pressed. See http://www.w3.org/TR/pointerevents/#button-states. -
Return
true
if only the shift-key is pressed,false
otherwise (e.g. when additionally the alt-key is pressed). -
Return
true
if the event is a mapsingleclick
event,false
otherwise. -
Return
true
if the target element is not editable, i.e. not a<input>
-,<select>
- or<textarea>
-element,false
otherwise.
Methods
-
Return
true
if only the alt-key is pressed,false
otherwise (e.g. when additionally the shift-key is pressed).Name Type Description mapBrowserEvent
module:ol/MapBrowserEvent~MapBrowserEvent Map browser event.
Returns:
True if only the alt key is pressed.
Type Definitions
-
A function that takes an
module:ol/MapBrowserEvent
and returns a{boolean}
. If the condition is met, true should be returned.