Skip navigation links
Mapbox Android Localization Plugin 0.13.0-SNAPSHOT Reference
A B C E F G J K L M P R S T U 

A

addMapLocale(Locale, MapLocale) - Static method in class com.mapbox.mapboxsdk.plugins.localization.MapLocale
When creating a new MapLocale, you'll need to associate a Locale so that Locale.getDefault() will find the correct corresponding MapLocale.
ARABIC - Static variable in class com.mapbox.mapboxsdk.plugins.localization.MapLocale
Arabic (if available)

B

BRAZIL - Static variable in class com.mapbox.mapboxsdk.plugins.localization.MapLocale
Useful constant for country.

C

CANADA - Static variable in class com.mapbox.mapboxsdk.plugins.localization.MapLocale
Useful constant for country.
CANADA_FRENCH - Static variable in class com.mapbox.mapboxsdk.plugins.localization.MapLocale
Useful constant for country.
CHINA - Static variable in class com.mapbox.mapboxsdk.plugins.localization.MapLocale
Useful constant for country.
CHINESE - Static variable in class com.mapbox.mapboxsdk.plugins.localization.MapLocale
Chinese (if available)
CHINESE_HANS - Static variable in class com.mapbox.mapboxsdk.plugins.localization.MapLocale
Useful constant for country.
CHINESE_HANT - Static variable in class com.mapbox.mapboxsdk.plugins.localization.MapLocale
Useful constant for country.
com.mapbox.mapboxsdk.plugins.localization - package com.mapbox.mapboxsdk.plugins.localization
Contains the classes relevant to the Mapbox Localization Plugin.

E

ENGLISH - Static variable in class com.mapbox.mapboxsdk.plugins.localization.MapLocale
English (if available)

F

FRANCE - Static variable in class com.mapbox.mapboxsdk.plugins.localization.MapLocale
Useful constant for country.
FRENCH - Static variable in class com.mapbox.mapboxsdk.plugins.localization.MapLocale
French (if available)

G

GERMAN - Static variable in class com.mapbox.mapboxsdk.plugins.localization.MapLocale
German (if available)
GERMANY - Static variable in class com.mapbox.mapboxsdk.plugins.localization.MapLocale
Useful constant for country.
getCountryBounds() - Method in class com.mapbox.mapboxsdk.plugins.localization.MapLocale
Returns a LatLngBounds which represents the viewport bounds which allow for the entire viewing of a country within the devices viewport.
getMapLanguage() - Method in class com.mapbox.mapboxsdk.plugins.localization.MapLocale
Returns the Map Language which can be fed directly into textField in runtime styling to change language.
getMapLocale(Locale) - Static method in class com.mapbox.mapboxsdk.plugins.localization.MapLocale
Passing in a Locale, you are able to receive the MapLocale object which it is currently paired with.
getMapLocale(Locale, boolean) - Static method in class com.mapbox.mapboxsdk.plugins.localization.MapLocale
Passing in a Locale, you are able to receive the MapLocale object which it is currently paired with.

J

JAPAN - Static variable in class com.mapbox.mapboxsdk.plugins.localization.MapLocale
Useful constant for country.
JAPANESE - Static variable in class com.mapbox.mapboxsdk.plugins.localization.MapLocale
Japanese (if available)

K

KOREA - Static variable in class com.mapbox.mapboxsdk.plugins.localization.MapLocale
Useful constant for country.
KOREAN - Static variable in class com.mapbox.mapboxsdk.plugins.localization.MapLocale
Korean (if available)

L

LOCAL_NAME - Static variable in class com.mapbox.mapboxsdk.plugins.localization.MapLocale
The name (or names) used locally for the place.
LocalizationPlugin - Class in com.mapbox.mapboxsdk.plugins.localization
Useful class for quickly adjusting the maps language and the maps camera starting position.
LocalizationPlugin(MapView, MapboxMap, Style) - Constructor for class com.mapbox.mapboxsdk.plugins.localization.LocalizationPlugin
Public constructor for passing in the required objects.

M

MapLocale - Class in com.mapbox.mapboxsdk.plugins.localization
A MapLocale object builds off of the Locale object and provides additional geographical information particular to the Mapbox Maps SDK.
MapLocale(String) - Constructor for class com.mapbox.mapboxsdk.plugins.localization.MapLocale
Construct a new MapLocale instance using one of the map languages found in MapLocale.Languages.
MapLocale(LatLngBounds) - Constructor for class com.mapbox.mapboxsdk.plugins.localization.MapLocale
Construct a new MapLocale instance by passing in a LatLngBounds object.
MapLocale(String, LatLngBounds) - Constructor for class com.mapbox.mapboxsdk.plugins.localization.MapLocale
/** Construct a new MapLocale instance using one of the map languages found in MapLocale.Languages and also passing in a LatLngBounds object.
MapLocale.Languages - Annotation Type in com.mapbox.mapboxsdk.plugins.localization
 
matchMapLanguageWithDeviceDefault() - Method in class com.mapbox.mapboxsdk.plugins.localization.LocalizationPlugin
Initializing this class and then calling this method oftentimes will be the only thing you'll need to quickly adjust the map language to the devices specified language.
matchMapLanguageWithDeviceDefault(boolean) - Method in class com.mapbox.mapboxsdk.plugins.localization.LocalizationPlugin
Initializing this class and then calling this method oftentimes will be the only thing you'll need to quickly adjust the map language to the devices specified language.

P

PORTUGAL - Static variable in class com.mapbox.mapboxsdk.plugins.localization.MapLocale
Useful constant for country.
PORTUGUESE - Static variable in class com.mapbox.mapboxsdk.plugins.localization.MapLocale
Portuguese (if available)

R

RUSSIA - Static variable in class com.mapbox.mapboxsdk.plugins.localization.MapLocale
Useful constant for country.
RUSSIAN - Static variable in class com.mapbox.mapboxsdk.plugins.localization.MapLocale
Russian (if available)

S

setCameraToLocaleCountry(int) - Method in class com.mapbox.mapboxsdk.plugins.localization.LocalizationPlugin
Adjust the map's camera position so that the entire countries boarders are within the viewport.
setCameraToLocaleCountry(Locale, int) - Method in class com.mapbox.mapboxsdk.plugins.localization.LocalizationPlugin
If you'd like to manually set the camera position to a specific map region or country, pass in the locale (which must have a paired }MapLocale) to work properly
setCameraToLocaleCountry(MapLocale, int) - Method in class com.mapbox.mapboxsdk.plugins.localization.LocalizationPlugin
You can pass in a MapLocale directly into this method which uses the country bounds defined in it to represent the language found on the map.
setMapLanguage(String) - Method in class com.mapbox.mapboxsdk.plugins.localization.LocalizationPlugin
Set the map language directly by using one of the supported map languages found in MapLocale.Languages.
setMapLanguage(Locale) - Method in class com.mapbox.mapboxsdk.plugins.localization.LocalizationPlugin
If you'd like to set the map language to a specific locale, you can pass it in as a parameter and MapLocale will try matching the information with one of the MapLocales found in its map.
setMapLanguage(Locale, boolean) - Method in class com.mapbox.mapboxsdk.plugins.localization.LocalizationPlugin
If you'd like to set the map language to a specific locale, you can pass it in as a parameter and MapLocale will try matching the information with one of the MapLocales found in its map.
setMapLanguage(MapLocale) - Method in class com.mapbox.mapboxsdk.plugins.localization.LocalizationPlugin
You can pass in a MapLocale directly into this method which uses the language defined in it to represent the language found on the map.
SIMPLIFIED_CHINESE - Static variable in class com.mapbox.mapboxsdk.plugins.localization.MapLocale
Simplified Chinese (if available)
SPAIN - Static variable in class com.mapbox.mapboxsdk.plugins.localization.MapLocale
Useful constant for country.
SPANISH - Static variable in class com.mapbox.mapboxsdk.plugins.localization.MapLocale
Spanish (if available)

T

TAIWAN - Static variable in class com.mapbox.mapboxsdk.plugins.localization.MapLocale
Useful constant for country.

U

UK - Static variable in class com.mapbox.mapboxsdk.plugins.localization.MapLocale
Useful constant for country.
US - Static variable in class com.mapbox.mapboxsdk.plugins.localization.MapLocale
Useful constant for country.
A B C E F G J K L M P R S T U 
Skip navigation links
Mapbox Android Localization Plugin 0.13.0-SNAPSHOT Reference

© 2015–2019 Mapbox. All rights reserved.