HERE iOS SDK Developer's Guide

NMAStreetLevelBillboard

Class Summary

class NMAStreetLevelBillboard

Derived from: NMAStreetLevelIconBase

NMAStreetLevelBillboard is a concrete implementation of NMAStreetLevelIconBase used to place billboards in an NMAStreetLevelView.

Include: NMAKit.framework/headers/NMAStreetLevelBillboard.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMAStreetLevelBillboard

[For complete information, see the section Class Details]

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, writable, assign] NMAVector3d   normalVector

The normal vector of the NMAStreetLevelBillboard

[readable, writable, assign] NMAStreetLevelBillboardOrientation   orientation

The orientation type of the NMAStreetLevelBillboard

[readable, writable, assign] CGSize  renderedSize

The rendered size within an NMAStreetLevelView of the NMAStreetLevelBillboard

[readable, writable, assign] NMAVector3d   upVector

The up vector of the NMAStreetLevelBillboard

Instance Method Summary

Table 2. Instance Methods
Instance Method Summary

-(id) initWithGeoCoordinates:( NMAGeoCoordinates *) coordinates icon:( NMAImage *) icon

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

-(id) initWithGeoCoordinates:( NMAGeoCoordinates *) coordinates image:(UIImage *) image

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

-(void) setOrientation:( NMAStreetLevelBillboardOrientation ) orientation normalVector:( NMAVector3d ) normalVector upVector:( NMAVector3d ) upVector

Sets orientation information for the NMAStreetLevelBillboard

Class Method Summary

Table 3. Class Methods
Class Methods

+(id) streetLevelBillboardWithGeoCoordinates:( NMAGeoCoordinates *) coordinates icon:( NMAImage *) icon

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

+(id) streetLevelBillboardWithGeoCoordinates:( NMAGeoCoordinates *) coordinates image:(UIImage *) image

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

Class Details

NMAStreetLevelBillboard is a concrete implementation of NMAStreetLevelIconBase used to place billboards in an NMAStreetLevelView. NMAStreetLevelBillboard will scale along with NMAStreetLevelView's zoom level; it can be oriented to any arbitrary direction in the NMAStreetLevelView's 3D space by specfiying its normalVector and upVector properties.

Public Property Details

[readable, writable, assign] NMAVector3d  normalVector

The normal vector of the NMAStreetLevelBillboard. The normal vector is perpendicular to the image surface of the billboard.

[readable, writable, assign] NMAStreetLevelBillboardOrientation  orientation

The orientation type of the NMAStreetLevelBillboard.

[readable, writable, assign] CGSize renderedSize

The rendered size within an NMAStreetLevelView of the NMAStreetLevelBillboard.

Note:

The size is specified in meters.

[readable, writable, assign] NMAVector3d  upVector

The up vector of the NMAStreetLevelBillboard. The up vector points from the bottom to the top of the billboard image surface.

Instance Method Details

-(id) initWithGeoCoordinates:( NMAGeoCoordinates *) coordinates icon:( NMAImage *) icon

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

Parameters:

  • coordinates

    A NMAGeoCoordinates representing the map coordinates for displaying the NMAStreetLevelBillboard

  • icon

    A NMAImage representing the icon for the NMAStreetLevelBillboard

Returns:

The NMAStreetLevelBillboard

-(id) initWithGeoCoordinates:( NMAGeoCoordinates *) coordinates image:(UIImage *) image

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

Parameters:

  • coordinates

    A NMAGeoCoordinates representing the map coordinates for displaying the NMAStreetLevelBillboard

  • image

    A UIImage to use to create the NMAImage of the NMAStreetLevelBillboard.

Returns:

The NMAStreetLevelBillboard

-(void) setOrientation:( NMAStreetLevelBillboardOrientation ) orientation normalVector:( NMAVector3d ) normalVector upVector:( NMAVector3d ) upVector

Sets orientation information for the NMAStreetLevelBillboard.

Parameters:

Class Method Details

+(id) streetLevelBillboardWithGeoCoordinates:( NMAGeoCoordinates *) coordinates icon:( NMAImage *) icon

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

Parameters:

+(id) streetLevelBillboardWithGeoCoordinates:( NMAGeoCoordinates *) coordinates image:(UIImage *) image

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

Parameters:

  • coordinates

    The NMAGeoCoordinates at which to create the billboard.

  • image

    The UIImage to be displayed by the billboard.

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.