HERE iOS SDK Developer's Guide

NMAARPolylineObject

Class Summary

class NMAARPolylineObject

Derived from: NSObject

Represent a ARPolyline that users can add to a NMAARController. This class also provide features to customize polyline attributes such as width of line, color and so on.

Include: NMAKit.framework/headers/NMAARPolylineObject.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMAARPolylineObject

[For complete information, see the section Class Details]

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, writable, assign] NMALineAttributes lineAttributes

NMALineAttributes rendered by this NMAARPolylineObject

[readable, writable, assign] NMAMapPolyline polyline

NMAMapPolyline rendered by this NMAARPolylineObject

[readable, assign] NSUInteger  uniqueId

The unique ID of the NMAARPolylineObject

Instance Method Summary

Table 2. Instance Methods
Instance Method Summary

-(id) initWithPolyline:( NMAMapPolyline *) mapPolyline

Create NMAARPolylineObject from NMAMapPolyline

-(id) initWithPolyline:( NMAMapPolyline *) mapPolyline lineAttributes:( NMALineAttributes *) lineAttributes

Create NMAARPolylineObject with a NMAMapPolyline and a NMALineAttributes

Class Details

Represent a ARPolyline that users can add to a NMAARController. This class also provide features to customize polyline attributes such as width of line, color and so on.

 

Public Property Details

[readable, writable, assign] NMALineAttributeslineAttributes

NMALineAttributes rendered by this NMAARPolylineObject.

[readable, writable, assign] NMAMapPolylinepolyline

NMAMapPolyline rendered by this NMAARPolylineObject.

[readable, assign] NSUInteger uniqueId

The unique ID of the NMAARPolylineObject.

Note:

This value will be consistent for the lifetime of the object.

Instance Method Details

-(id) initWithPolyline:( NMAMapPolyline *) mapPolyline

Create NMAARPolylineObject from NMAMapPolyline.

Parameters:

-(id) initWithPolyline:( NMAMapPolyline *) mapPolyline lineAttributes:( NMALineAttributes *) lineAttributes

Create NMAARPolylineObject with a NMAMapPolyline and a NMALineAttributes.

Parameters:

  • mapPolyline

    NMAMapPolyline rendered by this NMAARPolylineObject.

  • lineAttributes

    attributes (such as width, color, line end cap style) to use when the line is rendered.