HERE iOS SDK Developer's Guide

NMAStreetLevelIcon

Class Summary

class NMAStreetLevelIcon

Derived from: NMAStreetLevelIconBase

NMAStreetLevelIcon is a concrete implementation of NMAStreetLevelIconBase used to place images in an NMAStreetLevelView.

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

Include: NMAKit.framework/headers/NMAStreetLevelIcon.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMAStreetLevelIcon

[For complete information, see the section Class Details]

Instance Method Summary

Table 1. Instance Methods
Instance Method Summary

-(nonnull instancetype) init

-(nullable instancetype) initWithGeoCoordinates:(nonnull NMAGeoCoordinates *) coordinates icon:(nonnull NMAImage *) icon

Initializes a NMAStreetLevelIcon instance with the specified NMAGeoCoordinates and NMAImage for the displayed icon

-(nullable instancetype) initWithGeoCoordinates:(nonnull NMAGeoCoordinates *) coordinates image:(nonnull UIImage *) image

Initializes a NMAStreetLevelIcon instance with the specified NMAGeoCoordinates and UImage for the displayed icon

Class Method Summary

Table 2. Class Methods
Class Methods

+(nonnull instancetype) new

+(nullable instancetype) streetLevelIconWithGeoCoordinates:(nonnull NMAGeoCoordinates *) coordinates icon:(nonnull NMAImage *) icon

A convenience method to construct an NMAStreetLevelIcon at the specified coordinates and with an NMAImage icon

+(nullable instancetype) streetLevelIconWithGeoCoordinates:(nonnull NMAGeoCoordinates *) coordinates image:(nonnull UIImage *) image

A convenience method to construct an NMAStreetLevelIcon at the specified coordinates and with a UIImage icon

Class Details

NMAStreetLevelIcon is a concrete implementation of NMAStreetLevelIconBase used to place images in an NMAStreetLevelView.

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

Instance Method Details

-(nonnull instancetype) init

Instances of this class should not be initialized directly

-(nullable instancetype) initWithGeoCoordinates:(nonnull NMAGeoCoordinates *) coordinates icon:(nonnull NMAImage *) icon

Initializes a NMAStreetLevelIcon instance with the specified NMAGeoCoordinates and NMAImage for the displayed icon.

Parameters:

  • coordinates

    A NMAGeoCoordinates representing the map coordinates for displaying the NMAStreetLevelIcon

  • icon

    A NMAImage representing the icon for the NMAStreetLevelIcon

Returns:

The NMAStreetLevelIcon. Nil if NMAImage for the displayed icon is nil.

-(nullable instancetype) initWithGeoCoordinates:(nonnull NMAGeoCoordinates *) coordinates image:(nonnull UIImage *) image

Initializes a NMAStreetLevelIcon instance with the specified NMAGeoCoordinates and UImage for the displayed icon.

Parameters:

  • coordinates

    A NMAGeoCoordinates representing the map coordinates for displaying the NMAStreetLevelIcon

  • image

    A UIImage to use to create the NMAImage marker of the icon.

Returns:

The NMAStreetLevelIcon Nil if UImage for the displayed icon is nil.

Class Method Details

+(nonnull instancetype) new

Instances of this class should not be initialized directly

+(nullable instancetype) streetLevelIconWithGeoCoordinates:(nonnull NMAGeoCoordinates *) coordinates icon:(nonnull NMAImage *) icon

A convenience method to construct an NMAStreetLevelIcon at the specified coordinates and with an NMAImage icon.

Parameters:

+(nullable instancetype) streetLevelIconWithGeoCoordinates:(nonnull NMAGeoCoordinates *) coordinates image:(nonnull UIImage *) image

A convenience method to construct an NMAStreetLevelIcon at the specified coordinates and with a UIImage icon.

Parameters: