HERE Android SDK Developer's Guide

MapBuildingObject

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

Class Summary

public final class MapBuildingObject

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

This class represents a specific building on the map.

[For complete information, see the section Class Details]

Method Summary

Table 1. Methods in MapBuildingObject
Methods

public float getHeight ()

Gets the height of the MapBuildingObject

public Identifier getIdentifier ()

Gets the Identifier of the building.

public String getPlaceName ()

Gets the name of the MapBuildingObject.

public GeoCoordinate getPosition ()

Gets the position of the MapBuildingObject

Class Details

This class represents a specific building on the map. Using the Identifier, the MapBuildingObject can be attached to MapBuildingGroup groups to manipulate color and height properties.

Method Details

public float getHeight ()

Gets the height of the MapBuildingObject

Returns:

height in meters relative to ground level.

public Identifier getIdentifier ()

Gets the Identifier of the building. The identifier can be matched against results in PlaceLink

Returns:

Identifier id of the building

public String getPlaceName ()

Gets the name of the MapBuildingObject. This information is only available in 3D Landmarks.

Returns:

Name of the landmark

public GeoCoordinate getPosition ()

Gets the position of the MapBuildingObject

Returns:

GeoCoordinate position of the building

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.