HERE Android SDK Developer's Guide

StreetLevelSelectedObject

The class StreetLevelSelectedObject is a member of com.here.android.mpa.streetlevel .

Class Summary

public final class StreetLevelSelectedObject

extends java.lang.Object

Represents a base class for all objects that are selectable on a StreetLevelFragment.

[For complete information, see the section Class Details]

See also:

getSelectedObjects(PointF)

Method Summary

Table 1. Methods in StreetLevelSelectedObject
Methods

public Vector3f getNormal ()

Gets the Vector3f representing the normal vector of the selected object.

public ViewObject getObject ()

Gets the ViewObject representation of the StreetLevelSelectedObject.

public GeoCoordinate getPosition ()

Gets the GeoCoordinate representing the current position of the StreetLevelSelectedObject.

Class Details

Represents a base class for all objects that are selectable on a StreetLevelFragment.

See also:

getSelectedObjects(PointF)

Method Details

public Vector3f getNormal ()

Gets the Vector3f representing the normal vector of the selected object. This can be used with StreetLevelBillboardOrientation in setOrientation(StreetLevelBillboardOrientation.Orientation)

Returns:

The normal Vector3d

public ViewObject getObject ()

Gets the ViewObject representation of the StreetLevelSelectedObject.

Note: use instanceof to determine the exact type ( StreetLevelBuilding, StreetLevelLink, etc.).

Returns:

The ViewObject

public GeoCoordinate getPosition ()

Gets the GeoCoordinate representing the current position of the StreetLevelSelectedObject.

Returns:

The GeoCoordinate

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.