Enum Class BasemapStyleLanguageStrategy

java.lang.Object
java.lang.Enum<BasemapStyleLanguageStrategy>
com.esri.arcgisruntime.mapping.BasemapStyleLanguageStrategy
All Implemented Interfaces:
Serializable, Comparable<BasemapStyleLanguageStrategy>, Constable

public enum BasemapStyleLanguageStrategy extends Enum<BasemapStyleLanguageStrategy>
Options for setting the language on a Basemap created from a BasemapStyle.
Since:
200.3.0
  • Enum Constant Details

    • DEFAULT

      public static final BasemapStyleLanguageStrategy 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

      public static final BasemapStyleLanguageStrategy GLOBAL
      Use the global language (English) for basemap labels.

      This is the default setting for ArcGIS basemap styles.

      Since:
      200.3.0
    • LOCAL

      public static final BasemapStyleLanguageStrategy 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

      public static final BasemapStyleLanguageStrategy 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

      public static BasemapStyleLanguageStrategy[] 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

      public static BasemapStyleLanguageStrategy valueOf(String name)
      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 name
      NullPointerException - if the argument is null