This class represents an event to be fired when a user right-clicks or longpresses on a map object.
| Name | Type | Description |
|---|---|---|
viewportX |
number |
The x coordinate of the event location in the viewport |
viewportY |
number |
The y coordinate of the event location in the viewport |
target |
H.Map | H.map.Object |
The target element of the event |
originalEvent |
Event |
An object representing the original event |
Extends
Members
-
AT_TARGET number constant inherited
-
This property indicates that the event is being evaluated at the target.
-
BUBBLING_PHASE number constant inherited
-
This property identifies the current event phase as the bubbling phase.
-
CAPTURING_PHASE number constant inherited
-
This property identifies the current event phase as the capturing phase.
-
currentTarget * inherited
-
This property holds an object that receives notification of the event (via an attached listener).
-
defaultPrevented boolean inherited
-
This property holds a value indicating if
preventDefault()was called on the current event. -
eventPhase number inherited
-
This property indicates which phase of the event flow is being evaluated.
-
items Array.<!H.util.ContextItem> non-null
-
This property contains
ContextItemsthat be used to create context menu entries and set by listeners of the "contextmenu" event. -
This property holds the original event.
-
target H.map.Object | H.Map overrides
-
This property holds the target for the event.
-
type string inherited
-
This property holds the name of the dispatched event.
-
This property holds the x-position in the map viewport.
-
This property holds the y-position in the map viewport.