HERE iOS SDK Developer's Guide

NMAStreetLevelBuilding

Class Summary

class NMAStreetLevelBuilding

Derived from: NMAProxyObject

NMAStreetLevelBuilding represents a building inside an NMAStreetLevelView.

Deprecated: Street Level APIs are deprecated as of release 3.7.

Include: NMAKit.framework/headers/NMAStreetLevelBuilding.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMAStreetLevelBuilding

[For complete information, see the section Class Details]

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, assign] NSString *  buildingId

Unique consistent identifier for the building represented by this NMAStreetLevelBuilding instance

[readable, writable, assign] float  highlight

Highlight intensity for this NMAStreetLevelBuilding

Instance Method Summary

Table 2. Instance Methods
Instance Method Summary

-(nullable NMAGeoCoordinates *) closestPositionToGeoCoordinates:(nullable NMAGeoCoordinates *) coordinates withDistanceLimit:(float) distanceLimit

Finds the closest position on the surface of the building to the specified geocoordinates

-(nonnull instancetype) init

Class Method Summary

Table 3. Class Methods
Class Methods

+(nonnull instancetype) new

Class Details

NMAStreetLevelBuilding represents a building inside an NMAStreetLevelView.

Note:

The building geo coordinates can be obtained from the NMAViewObject::location property

Deprecated: Street Level APIs are deprecated as of release 3.7.

Public Property Details

[readable, assign] NSString * buildingId

Unique consistent identifier for the building represented by this NMAStreetLevelBuilding instance.

Note:

The identifier value is consistent across application sessions for the same building.

[readable, writable, assign] float highlight

Highlight intensity for this NMAStreetLevelBuilding.

Note:

The valid range is from 0.0 to 1.0, where 0.0 represents no highlighting. Invalid values will be clamped to this range.

Instance Method Details

-(nullable NMAGeoCoordinates *) closestPositionToGeoCoordinates:(nullable NMAGeoCoordinates *) coordinates withDistanceLimit:(float) distanceLimit

Finds the closest position on the surface of the building to the specified geocoordinates.

Parameters:

  • coordinates

    The NMAGeoCoordinates to find the closest position to.

  • distanceLimit

    The maximum distance to consider when searching positions. A negative value denotes no limit.

Returns:

The NMAGeoCoordinates representing the surface position closest to the specified geocoordinates, or nil if a position could not be found within the distance limit.

-(nonnull instancetype) init

Instances of this class should not be initialized directly

Class Method Details

+(nonnull instancetype) new

Instances of this class should not be initialized directly