HERE iOS SDK Developer's Guide

NMAEHMapAccessor

Class Summary

class NMAEHMapAccessor

Derived from: NSObject

NMAEHMapAccessor is a class that provides information about any link.

Include: NMAKit.framework/headers/NMAEHMapAccessor.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMAEHMapAccessor

[For complete information, see the section Class Details]

Instance Method Summary

Table 1. Instance Methods
Instance Method Summary

-(nullable NSArray< NMAEHLink * > *) getConnectedLinks:(nonnull NMAEHLink *) link

Retrieves an array of connected links of the link

-(nullable NSArray< NMAEHLink * > *) getConnectedLinks:(nonnull NMAEHLink *) link error:(NSError *_Nullable *_Nonnull) error

Retrieves the connected links of the link

-(nullable NMAEHLinkInformation *) getLinkInformation:(nonnull NMAEHLink *) link

Retrieves the information of the link

-(nullable NMAEHLinkInformation *) getLinkInformation:(nonnull NMAEHLink *) link error:(NSError *_Nullable *_Nonnull) error

Retrieves the information of the link

-(nullable NMAGeoPolyline *) getLinkPolyline:(nonnull NMAEHLink *) link

Retrieves the geometry of the link

-(nullable NMAGeoPolyline *) getLinkPolyline:(nonnull NMAEHLink *) link error:(NSError *_Nullable *_Nonnull) error

Retrieves the geometry of the link

-(nullable NMAEHMetaData *) getMetaData:(nonnull NMAEHLink *) link

Retrieves the meta data of the link

-(nullable NMAEHMetaData *) getMetaData:(nonnull NMAEHLink *) link error:(NSError *_Nullable *_Nonnull) error

Retrieves the meta data of the link

-(nullable NSString *) getPVID:(nonnull NMAEHLink *) link

Retrieves the PVID of the link

-(nullable NSString *) getPVID:(nonnull NMAEHLink *) link error:(NSError *_Nullable *_Nonnull) error

Retrieves the PVID of the link

-(nullable NSArray< NMAEHSlopeDataPoint * > *) getSlopeDataPoints:(nonnull NMAEHLink *) link

Retrieves an array of slope data points from the link

-(nullable NSArray< NMAEHSlopeDataPoint * > *) getSlopeDataPoints:(nonnull NMAEHLink *) link error:(NSError *_Nullable *_Nonnull) error

Retrieves an array of slope data points from the link

Class Details

NMAEHMapAccessor is a class that provides information about any link.

Instance Method Details

Retrieves an array of connected links of the link.

Parameters:

  • link

    The link from which the connected links will be retrieved.

Returns:

array of links if the operation was successful, otherwise nil.

Retrieves the connected links of the link.

Parameters:

  • link

    The link from which the connected links will be retrieved.

  • error

    Reference error object to get the error if any.

Returns:

array of links if the operation was successful, otherwise nil.

-(nullable NMAEHLinkInformation *) getLinkInformation:(nonnull NMAEHLink *) link

Retrieves the information of the link.

Parameters:

  • link

    The link from which the information will be retrieved.

Returns:

linkInformation if the operation was successful, otherwise nil.

-(nullable NMAEHLinkInformation *) getLinkInformation:(nonnull NMAEHLink *) link error:(NSError *_Nullable *_Nonnull) error

Retrieves the information of the link.

Parameters:

  • link

    The link from which the information will be retreived.

  • error

    Reference error object to get the error if any.

Returns:

linkInformation if the operation was successful, otherwise nil.

-(nullable NMAGeoPolyline *) getLinkPolyline:(nonnull NMAEHLink *) link

Retrieves the geometry of the link.

Parameters:

  • link

    The link from which the geometry will be retrieved.

Returns:

geometry if the operation was successful, otherwise nil.

-(nullable NMAGeoPolyline *) getLinkPolyline:(nonnull NMAEHLink *) link error:(NSError *_Nullable *_Nonnull) error

Retrieves the geometry of the link.

Parameters:

  • link

    The link from which the geometry will be retrieved.

  • error

    Reference error object to get the error if any.

Returns:

geometry if the operation was successful, otherwise nil.

-(nullable NMAEHMetaData *) getMetaData:(nonnull NMAEHLink *) link

Retrieves the meta data of the link.

Parameters:

  • link

    The link from which the meta data will be retrieved.

Returns:

meta data if the operation was successful, otherwise nil.

-(nullable NMAEHMetaData *) getMetaData:(nonnull NMAEHLink *) link error:(NSError *_Nullable *_Nonnull) error

Retrieves the meta data of the link.

Parameters:

  • link

    The link from which the meta data will be retrieved.

  • error

    Reference error object to get the error if any.

Returns:

meta data if the operation was successful, otherwise nil.

-(nullable NSString *) getPVID:(nonnull NMAEHLink *) link

Retrieves the PVID of the link.

Parameters:

  • link

    The link from which the PVID will be retrieved.

Returns:

PVID if the operation was successful, otherwise nil.

-(nullable NSString *) getPVID:(nonnull NMAEHLink *) link error:(NSError *_Nullable *_Nonnull) error

Retrieves the PVID of the link.

Parameters:

  • link

    The link from which the PVID will be retrieved.

  • error

    Reference error object to get the error if any.

Returns:

PVID if the operation was successful, otherwise nil.

-(nullable NSArray< NMAEHSlopeDataPoint * > *) getSlopeDataPoints:(nonnull NMAEHLink *) link

Retrieves an array of slope data points from the link.

Parameters:

  • link

    The link from which the slope data points will be retrieved.

Returns:

array of slope data points if the operation was successful, otherwise nil.

-(nullable NSArray< NMAEHSlopeDataPoint * > *) getSlopeDataPoints:(nonnull NMAEHLink *) link error:(NSError *_Nullable *_Nonnull) error

Retrieves an array of slope data points from the link.

Parameters:

  • link

    The link from which the slope data points will be retrieved.

  • error

    Reference error object to get the error if any.

Returns:

array of slope data points if the operation was successful, otherwise nil.