HERE iOS SDK Developer's Guide

NMAPositionIndicator

Class Summary

class NMAPositionIndicator

Derived from: NSObject

Used to provide a visual indication of the user's current position.

Include: NMAKit.framework/headers/NMAPositionIndicator.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMAPositionIndicator

[For complete information, see the section Class Details]

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, writable, assign] UIColor *  accuracyIndicatorColor

The color of the accuracy indicator circle

[readable, writable, assign] BOOL  accuracyIndicatorVisible

Indicates whether the NMAPositionIndicator accuracy indicator (the surrounding circle) is visible

[readable, writable, assign] BOOL  visible

Indicates whether the NMAPositionIndicator is visible

Class Details

Used to provide a visual indication of the user's current position.

Each instance of NMAMapView automatically has a NMAPositionIndicator created for it. The position indicator is hidden by default; it can be displayed by change its visible property to YES.

By default, the position indicator displays an NMAMapMarker showing a green circle.

The accuracy of the current position is indicated by a circle surrounding the indicator object. The visibility of the accuracy indicator is controlled via the accuracyIndicatorVisible property, and its color may be changed by setting the accuracyIndicatorColor.

Note:

The NMAPositionIndicator requires NMAPositioningManager position updates to function correctly, and will automatically start the positioning service when required.

Public Property Details

[readable, writable, assign] UIColor * accuracyIndicatorColor

The color of the accuracy indicator circle.

[readable, writable, assign] BOOL accuracyIndicatorVisible

Indicates whether the NMAPositionIndicator accuracy indicator (the surrounding circle) is visible.

Note:

The getter is isAccuracyIndicatorVisible.

[readable, writable, assign] BOOL visible

Indicates whether the NMAPositionIndicator is visible.

Note:

The getter is isVisible.

Note:

Setting visible to YES will start NMAPositioningManager positioning if it is not already active.