HERE Android SDK Developer's Guide

LocalizedLabel

The class LocalizedLabel is a member of com.here.android.mpa.routing.Signpost.

Class Summary

public static final class Signpost.LocalizedLabel

extends java.lang.Object

Signpost information can be used for navigation (both audible and graphical/textual navigation) and map display.

[For complete information, see the section Class Details]

Method Summary

Table 1. Methods in LocalizedLabel
Methods

public String getLanguage ()

Three letter MARC language tag.

public String getRouteDirection ()

Contains the cardinal direction.

public String getRouteName ()

Contains the route name/route number of the label.

public String getText ()

Usually it contains auxiliary information like city name or characteristic place (for example: "airport").

public String toString ()

For documentation, see java.lang.Object

Class Details

Signpost information can be used for navigation (both audible and graphical/textual navigation) and map display. In Europe, the label Text is most relevant for guidance, while in the North America, both Route Name and Direction information are most relevant.

Method Details

public String getLanguage ()

Three letter MARC language tag.

Returns:

A string representing the language.

public String getRouteDirection ()

Contains the cardinal direction.

Returns:

String with the direction.

public String getRouteName ()

Contains the route name/route number of the label. Since the origin data is not always consistent it is advisable to concatenate the route name and route direction fields There are for example cases in which the direction is already contained in the route name.

Returns:

String with the route name.

See also:

getRouteName()

getRouteDirection()

public String getText ()

Usually it contains auxiliary information like city name or characteristic place (for example: "airport").

Returns:

String with auxilary information.

public String toString ()

For documentation, see java.lang.Object

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.