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.

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.