Maps API for JavaScript Developer's Guide

H.geo.AbstractGeometry

Class Summary

This class represents a geometry with geographical coordinates.

[ For full details, see the Class Details ]

Method Summary

Table 1. Methods
Methods

getBounds () : {?H.geo.Rect}

This method returns the bounding rectangle of the geometry.

equals (other) : {boolean}

This method checks if the given geometry is equal to the geometry supplied by the caller. Two geometries are considered equal if they represent the same geometry type and have equal coordinate values.

Class Description

This class represents a geometry with geographical coordinates.

Constructor Details

H.geo.AbstractGeometry()

Method Details

getBounds () : {?H.geo.Rect}

This method returns the bounding rectangle of the geometry.

Returns:
 
{?H.geo.Rect}
the bounding rectangle of the geometry or null if the bounding rectangle can't be computed (e.g. for a geometry without coordinates)

equals (other) : {boolean}

This method checks if the given geometry is equal to the geometry supplied by the caller. Two geometries are considered equal if they represent the same geometry type and have equal coordinate values.

Parameters:
 
other:
{*}
 
The geometry to check against
Returns:
 
{boolean}
true if the two geometries are equal, otherwise false

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.