Package globus.glmap

Class GLMapLocaleSettings

java.lang.Object
globus.glmap.GLNativeObject
globus.glmap.GLMapLocaleSettings

public class GLMapLocaleSettings extends GLNativeObject
`GLMapLocaleSettings` sets language order to all `GLMapView` objects Following map languages is included in vector map data: native - native language for country or region ar - Arabic be - Belarusian cs - Czech da - Danish de - German en - English es - Spanish fr - French it - Italian ja - Japanese ko - Korean nl - Dutch pl - Polish pt - Portuguese ru - Russian sv - Swedish uk - Ukrainian zh - Chinese Check [Multilingual names in OpenStreetMap](http://wiki.openstreetmap.org/wiki/Multilingual_names) for more information.
  • Field Details

    • order

      @NonNull public final String[] order
      Order of languages
    • unitSystem

      public final int unitSystem
      Unit system
  • Constructor Details

    • GLMapLocaleSettings

      public GLMapLocaleSettings()
      Default constructor set order of languages to [Locale.getDefault(), "native", GLUnitSystem.International]
    • GLMapLocaleSettings

      public GLMapLocaleSettings(@NonNull String[] order, int unitSystem)
      Constructor with defined order of languages
      Parameters:
      order - order of languages to check localization
      unitSystem - unit system
  • Method Details

    • getValidLanguages

      @NonNull public static HashSet<String> getValidLanguages()
      List of languages stored inside map data and supported by framework
      Returns:
      Set of valid languages