Package globus.glmap

Interface GLMapTagsContainer

All Known Implementing Classes:
GLMapRelation, GLMapVectorObject

public interface GLMapTagsContainer
GLMapTagsContainer interface for objects that contains tags
  • Method Details

    • setValueForKey

      void setValueForKey(String key, @Nullable String value)
      Sets value for key
      Parameters:
      key - Key of value
      value - value to set
    • valueForKey

      @Nullable GLMapValue valueForKey(String key)
      Returns value for the key
      Parameters:
      key - Key of requested value
      Returns:
      value associated with given key. (if loaded from geo JSON get values from "properties" section)
    • valuesForKey

      @Nullable GLMapValue[] valuesForKey(String key)
      Returns values for the key
      Parameters:
      key - Key of requested values
      Returns:
      array of values associated with given key
    • localizedName

      @Nullable GLMapValue localizedName(GLMapLocaleSettings localeSettings)
      Returns localized name.
      Parameters:
      localeSettings - locale settings to use
      Returns:
      name of object
    • copyProperties

      void copyProperties(GLMapTagsContainer other)
      Copies all properties from another tags container object.
      Parameters:
      other - Other tags container.