Maps API for JavaScript Developer's Guide

H.map.ChangeEvent

Class Summary

Extends: H.util.ChangeEvent

An Event to signalize map related changes.

[ For full details, see the Class Details ]

Property Summary

Table 1. Properties
Properties

target : {*}

Object which triggered the event

currentTarget : {*}

Object which has listener attached

type : {string}

Name of the dispatched event

defaultPrevented : {boolean}

Indicates if preventDefault was called on the current event

Method Summary

Table 2. Methods
Methods

preventDefault ()

Sets defaultPrevented to true. Which can be used to prevent some default behavior.

stopPropagation ()

Stops propagation for current event.

Class Description

An Event to signalize map related changes.

Constructor Details

H.map.ChangeEvent(type, newValue, oldValue, modifiers)

Parameters:
 
type:
{string}
 
The type of the event
newValue:
{Object}
 
The view values that were set after the change
oldValue:
{Object}
 
The view values that were set before the change
modifiers:
{H.math.BitMask}
 
Indicates which values were changed. See properties FOV, PITCH, POSITION, ROLL, SIZE, YAW and ZOOM for the meaning of the bits.

Property Details

target: {*}

Object which triggered the event

currentTarget: {*}

Object which has listener attached

type: {string}

Name of the dispatched event

defaultPrevented: {boolean}

Indicates if preventDefault was called on the current event

Method Details

preventDefault ()

Sets defaultPrevented to true. Which can be used to prevent some default behavior.

stopPropagation ()

Stops propagation for current event.

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.