Module com.esri.arcgisruntime
Package com.esri.arcgisruntime.mapping
Enum Class BasemapStyleLanguageStrategy
java.lang.Object
java.lang.Enum<BasemapStyleLanguageStrategy>
com.esri.arcgisruntime.mapping.BasemapStyleLanguageStrategy
- All Implemented Interfaces:
Serializable
,Comparable<BasemapStyleLanguageStrategy>
,Constable
Options for setting the language on a
Basemap
created from a BasemapStyle
.- Since:
- 200.3.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAttempt to use the system locale language for basemap labels.Use the default language setting for the `BasemapStyle`.Use the global language (English) for basemap labels.Uses local place names for basemap labels. -
Method Summary
Modifier and TypeMethodDescriptionstatic BasemapStyleLanguageStrategy
Returns the enum constant of this class with the specified name.static BasemapStyleLanguageStrategy[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
Use the default language setting for the `BasemapStyle`.Currently, for ArcGIS styles, the default behavior is global labels for ArcGIS styles and local labels for OpenStreetMap styles.
- Since:
- 200.3.0
-
GLOBAL
Use the global language (English) for basemap labels.This is the default setting for ArcGIS basemap styles.
- Since:
- 200.3.0
-
LOCAL
Uses local place names for basemap labels.This option uses the names of places in their local language - for example, "Lisboa" for "Lisbon" and "北京" for "Beijing".
This is the default setting for OpenStreetMap basemap styles.
- Since:
- 200.3.0
-
APPLICATION_LOCALE
Attempt to use the system locale language for basemap labels.Refer to
BasemapStyleParameters.specificLanguageProperty()
for a description of the behavior if the system's locale is an unsupported language.- Since:
- 200.3.0
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-