HERE iOS SDK Developer's Guide

NMACLE2GeometryPolygon

Class Summary

class NMACLE2GeometryPolygon

Derived from: NMACLE2Geometry

Represents a Polygon custom geometry created and accessed through the Custom Location Extension 2.

Include: NMAKit.framework/headers/NMACLE2GeometryPolygon.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMACLE2GeometryPolygon

[For complete information, see the section Class Details]

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, writable, assign] NSMutableArray< NMAGeoPolygon * > *  innerRings

Retrieve all the inner rings (NMAGeoPolygon) of this geometry

[readable, writable, assign] NMAGeoPolygon outerRing

Retrieve the outer ring (NMAGeoPolygon) of this geometry

Class Details

Represents a Polygon custom geometry created and accessed through the Custom Location Extension 2.

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 one NMAGeoPolygon property 'outerRing' and an NSArray% of NMAGeoPolygons containing the inner rings/polygons, if any.

Public Property Details

[readable, writable, assign] NSMutableArray< NMAGeoPolygon * > * innerRings

Retrieve all the inner rings (NMAGeoPolygon) of this geometry.

[readable, writable, assign] NMAGeoPolygonouterRing

Retrieve the outer ring (NMAGeoPolygon) of this geometry.