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.

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.