HERE iOS SDK Developer's Guide

NMAStreetLevelBuilding

Class Summary

class NMAStreetLevelBuilding

Derived from: NMAProxyObject

NMAStreetLevelBuilding represents a building inside an NMAStreetLevelView.

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

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

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

Class Details

NMAStreetLevelBuilding represents a building inside an NMAStreetLevelView.

Note:

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

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

-( NMAGeoCoordinates *) closestPositionToGeoCoordinates:( 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.

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.