HERE iOS SDK Developer's Guide

NMAPlaceLocation

Class Summary

class NMAPlaceLocation

Derived from: NSObject

Represents a location on a map in terms of a street address and a geographical position.

Include: NMAKit.framework/headers/NMAPlaceLocation.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMAPlaceLocation

[For complete information, see the section Class Details]

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, assign] NSArray< NMANavigationPosition * > *  accessPoints

An array of NMANavigationPosition objects representing access points to the location

[readable, writable, assign] NMAAddress address

The NMAAddress for the NMAPlaceLocation

[readable, writable, assign] NMAGeoBoundingBox boundingBox

The bounding box of the place location if available

[readable, writable, assign] NSString *  label

The descriptive label for the NMAPlaceLocation

[readable, writable, strong] NSString *  locationId

Deprecated: This property is deprecated as of SDK 3.3.

Location IDs are not supported, this property is always nil

[readable, writable, assign] NMAGeoCoordinates position

NMAGeoCoordinates for the NMAPlaceLocation if available

[readable, assign] NSTimeZone *  timeZone

Time zone in effect in this location

Instance Method Summary

Table 2. Instance Methods
Instance Method Summary

-(nonnull instancetype) init

-(nullable NSArray< NSString * & gt; *) referenceIdentifiersForSource:(nonnull NSString *) source

Get reference identifiers for a specific source

Class Method Summary

Table 3. Class Methods
Class Methods

+(nonnull instancetype) new

Class Details

Represents a location on a map in terms of a street address and a geographical position.

Public Property Details

[readable, assign] NSArray< NMANavigationPosition * > * accessPoints

An array of NMANavigationPosition objects representing access points to the location. The NMANavigationPosition should be used as navigablePosition of a NMAWaypoint when calculating route to the location.

For example, An aiport might have road access point for car routing and public transport access points for public transport routing.

[readable, writable, assign] NMAAddressaddress

The NMAAddress for the NMAPlaceLocation.

[readable, writable, assign] NMAGeoBoundingBoxboundingBox

The bounding box of the place location if available.

[readable, writable, assign] NSString * label

The descriptive label for the NMAPlaceLocation.

[readable, writable, strong] NSString * locationId

Deprecated: This property is deprecated as of SDK 3.3.

Location IDs are not supported, this property is always nil.

[readable, writable, assign] NMAGeoCoordinatesposition

NMAGeoCoordinates for the NMAPlaceLocation if available.

Note:

If you want to create a route to this location please use this property for NMAWaypoint creation. This is referred to as originalPosition in NMAWaypoint.

[readable, assign] NSTimeZone * timeZone

Time zone in effect in this location. Only available for online Geocode results.

Instance Method Details

-(nonnull instancetype) init

Instances of this class should not be initialized directly

-(nullable NSArray< NSString * & gt; *) referenceIdentifiersForSource:(nonnull NSString *) source

Get reference identifiers for a specific source. For example, a place can have a reference to an extruded building object in the map. The reference identifiers can be retrieved by calling this method with source NMAPlacesSourceBuilding.

Index 0 is the primary reference identifier for the place.

Note:

A reference identifier will not be returned if it has not been queried with the (see NMARequest::addSource:).

Parameters:

  • source

    NSString specifying the source.

Returns:

An NSArray of reference identifiers. Return nil if reference identifier does not exist.

Class Method Details

+(nonnull instancetype) new

Instances of this class should not be initialized directly