HERE iOS SDK Developer's Guide

NMAMapGeoModel

Class Summary

class NMAMapGeoModel

Derived from: NMAMapModelObject

A 3D model defined as an array of geographical coordinates that can be displayed on an NMAMapView.

Include: NMAKit.framework/headers/NMAMapGeoModel.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMAMapGeoModel

[For complete information, see the section Class Details]

Instance Method Summary

Table 1. Instance Methods
Instance Method Summary

-(nonnull instancetype) initWithMesh:(nonnull NMAGeoMesh *) mesh

Initializes an instance of NMAMapGeoModel with the specified NMAGeoMesh

Class Details

A 3D model defined as an array of geographical coordinates that can be displayed on an NMAMapView.

The NMAMapGeoModel is used to display custom 3D content on an instance of NMAMapView. The 3D model is defined using an instance of NMAGeoMesh, which containing an array of NMAGeoCoordinates, triangles and texture coordinates.

The NMAMapGeoModel could includes textures, which is an NMAImage applied to the mesh. 2D plane objects will respect the texture's transparency, while the alpha transparency for a texture being applied to a 3D object is undefined.

As a subclass of NMAMapObject, instances of NMAMapGeoModel may be selected, hidden, placed inside an NMAMapContainer, or any other operation that can be applied to map objects.

Instance Method Details

-(nonnull instancetype) initWithMesh:(nonnull NMAGeoMesh *) mesh

Initializes an instance of NMAMapGeoModel with the specified NMAGeoMesh.

Note:

The mesh parameter cannot be nil.