Maps API for JavaScript Developer's Guide

H.map.provider.Invalidations

Class Summary

This class represents invalidation states of a renderable object. A renderer can optimize its rendering strategies based on the information in this object.

[ For full details, see the Class Details ]

Property Summary

Table 1. Properties
Properties

static MARK_INITIAL : {H.map.provider.Invalidations.Mark}

This constant represents the initial invalidation mark an invalidations object has.

Method Summary

Table 2. Methods
Methods

update (mark, types)

To update invalidation marks accordingly to the given the invalidation types.

getMark () : {H.map.provider.Invalidations.Mark}

This method returns the current invalidation mark of this invalidations object.

isAny (since) : {boolean}

Checks whether any change occurred after the specified since mark

isVisual (since) : {boolean}

Checks whether a visual change occurred after the specified since mark

isSpatial (since) : {boolean}

Checks whether a spatial change occurred after the specified since mark

isAdd (since) : {boolean}

Checks whether an add-operation occurred after the specified since mark

isRemove (since) : {boolean}

Checks whether a remove operation occurred after the specified since mark

isZOrder (since) : {boolean}

Checks whether a z-order change occurred after the specified since mark

Class Description

This class represents invalidation states of a renderable object. A renderer can optimize its rendering strategies based on the information in this object.

For example, renderers may differentiate between a purely visual change of an object and a spatial change of an object. One may only require the change of a color during rendering, the other requires to re-project the object.

Constructor Details

H.map.provider.Invalidations()

Property Details

static MARK_INITIAL: {H.map.provider.Invalidations.Mark}

This constant represents the initial invalidation mark an invalidations object has.

Method Details

update (mark, types)

To update invalidation marks accordingly to the given the invalidation types.

Parameters:
 
mark:
{H.map.provider.Invalidations.Mark}
 
The invalidation mark to set
types:
{H.math.BitMask}
 
The descrete invalidation types to update

getMark () : {H.map.provider.Invalidations.Mark}

This method returns the current invalidation mark of this invalidations object.

Returns:
 
{H.map.provider.Invalidations.Mark}
the current invalidation mark

isAny (since) : {boolean}

Checks whether any change occurred after the specified since mark

Parameters:
 
since:
{H.map.provider.Invalidations.Mark}
 
The invalidation mark to check against
Returns:
 
{boolean}

isVisual (since) : {boolean}

Checks whether a visual change occurred after the specified since mark

Parameters:
 
since:
{H.map.provider.Invalidations.Mark}
 
The invalidation mark to check against
Returns:
 
{boolean}

isSpatial (since) : {boolean}

Checks whether a spatial change occurred after the specified since mark

Parameters:
 
since:
{H.map.provider.Invalidations.Mark}
 
The invalidation mark to check against
Returns:
 
{boolean}

isAdd (since) : {boolean}

Checks whether an add-operation occurred after the specified since mark

Parameters:
 
since:
{H.map.provider.Invalidations.Mark}
 
The invalidation mark to check against
Returns:
 
{boolean}

isRemove (since) : {boolean}

Checks whether a remove operation occurred after the specified since mark

Parameters:
 
since:
{H.map.provider.Invalidations.Mark}
 
The invalidation mark to check against
Returns:
 
{boolean}

isZOrder (since) : {boolean}

Checks whether a z-order change occurred after the specified since mark

Parameters:
 
since:
{H.map.provider.Invalidations.Mark}
 
The invalidation mark to check against
Returns:
 
{boolean}

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.