HERE Android SDK Developer's Guide

CLE2Geometry

The class CLE2Geometry is a member of com.here.android.mpa.customlocation2 .

Class Summary

public class CLE2Geometry

extends java.lang.Object

Specifies a user-defined geometry.

[For complete information, see the section Class Details]

Method Summary

Table 1. Methods in CLE2Geometry
Methods

public boolean equals (Object obj)

For documentation, see java.lang.Object

public Map getAttributes ()

Returns the Map of attributes representing the custom attributes of this CLE2Geometry

public double getDistance ()

Returns the minimum distance to the geometry from the point used in the query.

public int hashCode ()

For documentation, see java.lang.Object

Class Details

Specifies a user-defined geometry. This geometry can be a PointGeometry , MultiPointGeometry, PolylineGeometry, MultiPolylineGeometry, PolygonGeometry or MultiPolygonGeometry.

Method Details

public boolean equals (Object obj)

For documentation, see java.lang.Object

Parameters:

  • obj

public Map getAttributes ()

Returns the Map of attributes representing the custom attributes of this CLE2Geometry

Returns:

Map of attributes

public double getDistance ()

Returns the minimum distance to the geometry from the point used in the query.

Returns:

A float representing distance of this geometry to the point used in the query.

public int hashCode ()

For documentation, see java.lang.Object

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.