HERE Android SDK Developer's Guide

Area

The class Area is a member of com.here.android.mpa.venues3d .

Class Summary

public class Area

extends com.here.android.mpa.venues3d.SpatialObject, java.lang.Object

This class is a base class that represents a physical area within a Venue .

[For complete information, see the section Class Details]

See also:

Venue

Level

OuterArea

Space

Constructor Summary

Table 1. Constructors in Area
Constructors

Area (AreaImpl impl)

Package Private Constructor

Method Summary

Table 2. Methods in Area
Methods

public GeoBoundingBox getBoundingBox ()

This method retrieves the bounding box for this Area .

public GeoCoordinate getCenter ()

This method retrieves the center of the bounding box of the Area .

public String getName ()

This method retrieves the human-readable name related to the holder of the spatial area.

public GeoPolygon getPolygon ()

This method retrieves the GeoPolygon for this Area , if it exists.

Class Details

This class is a base class that represents a physical area within a Venue . It is extended by the classes OuterArea and Space , both of which have a bounding box and center coordinates, and possibly a GeoPolygon .

This class can not be instantiated directly. Subclasses OuterArea and Space can be obtained by methods on Level .

See also:

Venue

Level

OuterArea

Space

Constructor Details

Area (AreaImpl impl)

Package Private Constructor

Parameters:

  • impl

Method Details

public GeoBoundingBox getBoundingBox ()

This method retrieves the bounding box for this Area .

Returns:

An object representing the bounding box for the given area.

public GeoCoordinate getCenter ()

This method retrieves the center of the bounding box of the Area .

Returns:

An object containing the geographic coordinates of the center of the given area.

public String getName ()

This method retrieves the human-readable name related to the holder of the spatial area. This can be, for example, the name of a shop.

Returns:

The string containing the name.

public GeoPolygon getPolygon ()

This method retrieves the GeoPolygon for this Area , if it exists.

Returns:

A GeoPolygon or null.

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.