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.

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.