Powered by Zoomin Software. For more details please contactZoomin

HERE Maps API for JavaScript - API Reference

Product category
Technology
Doc type
Version
Product lifecycle
This publication

HERE Maps API for JavaScript - API Reference: Class: Event

Table of Contents

Class: Event

H.mapevents.Event

new H.mapevents.Event (type, pointers, changedPointers, targetPointers, currentPointer, target, originalEvent)

This class represents a custom map event. It contains a list of pointers on the map, a list of changed pointers, and 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.

changedPointers Array.<!H.mapevents.Pointer> non-null

This property holds an array of pointers that have changed in course of event.

currentPointer H.mapevents.Pointer non-null

This property holds the current pointer.

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.

originalEvent Event non-null

This property holds the original event fired by the browser.

pointers Array.<!H.mapevents.Pointer> non-null

This property holds an array of pointers that are currently on the screen.

This property holds the object which triggered the event. It can be a map object (for example a marker or a polyline) or the map itself.

targetPointers Array.<!H.mapevents.Pointer> non-null

This property holds an array of pointers that are on same target as the current pointer.

type string inherited

This property holds the name of the dispatched event.

Methods

preventDefault () inherited

This method sets a flag that can be used to prevent the default behavior when the even is fired.

stopPropagation () inherited

This method stops the propagation of the event.

Was this article helpful?
TitleResults for “How to create a CRG?”Also Available inAlert