HERE iOS SDK Developer's Guide

NMAViewObject

Class Summary

class NMAViewObject

Derived from: NSObject

The base class for all objects displayed in an NMA SDK view.

Include: NMAKit.framework/headers/NMAViewObject.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMAViewObject

[For complete information, see the section Class Details]

See also:

NMAProxyObject NMAUserObject

Instance Method Summary

Table 1. Instance Methods
Instance Method Summary

-(BOOL) isEqual:(id) aViewObject

Determines whether the specified NMAViewObject object is equal to this NMAViewObject

-(BOOL) isInArray:(NSArray *) objects

Determines whether this NMAViewObject exists within the specified NSArray of NMAViewObject objects

-( NMAGeoCoordinates *) location

The geographical location of the view object.

Class Details

The base class for all objects displayed in an NMA SDK view.

All objects displayed by an NMA view (such as NMAMapView or NMAStreetLevelView, if available) have NMAViewObject as their base class. All such objects fall into one of two categories: proxy objects, created by the SDK, and user objects, created by the client application. These objects additionally inherit from NMAProxyObject and NMAUserObject, respectively.

See also:

NMAProxyObject NMAUserObject

Instance Method Details

-(BOOL) isEqual:(id) aViewObject

Determines whether the specified NMAViewObject object is equal to this NMAViewObject.

Parameters:

  • aViewObject

    A NMAViewObject to compare with this NMAViewObject for equality

Returns:

YES if the NMAViewObject internal instances are equal, NO otherwise

-(BOOL) isInArray:(NSArray *) objects

Determines whether this NMAViewObject exists within the specified NSArray of NMAViewObject objects.

Parameters:

  • objects

    An array of NMAViewObject objects to check for the existence of this NMAViewObject

Returns:

YES if this NMAViewObject exists within the specified NSArray, NO otherwise

-( NMAGeoCoordinates *) location

The geographical location of the view object.

The meaning of the location for a particular object depends on that object's type. Objects that don't have a location will return nil. The meaning of the location for certain view objects is as follows:

NMAMapView objects:
NMAStreetLevelView objects (if NMAStreetLevelView is avaialble):
  • NMAStreetLevelLink - no location
  • NMAStreetLevelBuilding - geo coordinates of the building

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.