HERE Android SDK Developer's Guide

MapGeoModel

The class MapGeoModel is a member of com.here.android.mpa.mapping .

Class Summary

public final class MapGeoModel

extends com.here.android.mpa.mapping.MapModelObject, com.here.android.mpa.mapping.MapObject, com.here.android.mpa.common.ViewObject, java.lang.Object

A MapGeoModel is a GeoCoordinate mesh displayed on a map.

[For complete information, see the section Class Details]

Constructor Summary

Table 1. Constructors in MapGeoModel
Constructors

MapGeoModel ()

Creates a MapGeoModel .

Method Summary

Table 2. Methods in MapGeoModel
Methods

public GeoMesh getMesh ()

Gets the GeoMesh currently associated with the MapGeoModel .

public Image getTexture ()

Gets the current texture Image of the MapGeoModel .

public MapGeoModel setMesh (GeoMesh model)

Sets a GeoMesh for the MapGeoModel .

public MapGeoModel setTexture (Image texture)

Sets a texture Image for the MapGeoModel .

Class Details

A MapGeoModel is a GeoCoordinate mesh displayed on a map. The mesh is represented by a GeoMesh object, which internally holds an array of GeoCoordinate .

Properties of a MapGeoModel mesh include its texture, which is an Image 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.

Constructor Details

MapGeoModel ()

Creates a MapGeoModel .

Method Details

public GeoMesh getMesh ()

Gets the GeoMesh currently associated with the MapGeoModel .

Returns:

The GeoMesh

public Image getTexture ()

Gets the current texture Image of the MapGeoModel .

Returns:

The texture Image

public MapGeoModel setMesh (GeoMesh model)

Sets a GeoMesh for the MapGeoModel .

Parameters:

  • model

    Desired GeoMesh

Returns:

The updated MapGeoMesh itself.

public MapGeoModel setTexture (Image texture)

Sets a texture Image for the MapGeoModel .

Parameters:

  • texture

    Desired texture Image

Returns:

The updated MapGeoMesh itself.