HERE Android SDK Developer's Guide

CLE2PolygonGeometry

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

Class Summary

public final class CLE2PolygonGeometry

extends com.here.android.mpa.customlocation2.CLE2Geometry, java.lang.Object

Specifies a user-defined polygon geometry.

[For complete information, see the section Class Details]

Method Summary

Table 1. Methods in CLE2PolygonGeometry
Methods

public java.util.List <GeoPolygon> getInnerRings ()

Gets the all inner ring of this geometry.

public GeoPolygon getOuterRing ()

Gets the outer ring GeoPolygon of this geometry.

Class Details

Specifies a user-defined polygon geometry. The polygon geometry represent a list of GeoPolygon

Note: The concept of polygon in WKT (Well Known Text) format consists of one outer ring/polygon, plus zero or more inner rings/polygons. We map the WKT concept here with a GeoPolygon outer ring object, and a list of GeoPolygon as the inner rings (if any).

Method Details

public java.util.List <GeoPolygon> getInnerRings ()

Gets the all inner ring of this geometry.

Returns:

a list of GeoPolygon.

public GeoPolygon getOuterRing ()

Gets the outer ring GeoPolygon of this geometry.

Returns:

GeoPolygon.

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.