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, writable, strong] NMAAddress address

The NMAAddress for the NMAPlaceLocation

[readable, writable, strong] NMAGeoBoundingBox boundingBox

The bounding box of the place location if available

[readable, writable, strong] NSString *  label

The descriptive label for the NMAPlaceLocation

[readable, writable, strong] NSString *  locationId

The unique ID of the place location

[readable, writable, strong] NMAGeoCoordinates position

NMAGeoCoordinates for the NMAPlaceLocation if available

Instance Method Summary

Table 2. Instance Methods
Instance Method Summary

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

Get reference identifiers for a specific source

Class Details

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

Public Property Details

[readable, writable, strong] NMAAddressaddress

The NMAAddress for the NMAPlaceLocation.

[readable, writable, strong] NMAGeoBoundingBoxboundingBox

The bounding box of the place location if available.

[readable, writable, strong] NSString * label

The descriptive label for the NMAPlaceLocation.

[readable, writable, strong] NSString * locationId

The unique ID of the place location.

[readable, writable, strong] NMAGeoCoordinatesposition

NMAGeoCoordinates for the NMAPlaceLocation if available.

Instance Method Details

-(nullable NSArray< NSString * & gt; *) referenceIdentifiersForSource:(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.