Class $k.GeoRange

Represents the value range of a geo position attribute

Class Summary
Constructor Attributes Constructor Name and Description
 

Method Summary

Class Detail

$k.GeoRange()

Method Detail

  • {string[]} formats()
    Returns the names of the supported formats
    Returns:
    {string[]}
  • {$k.GeoPosition} parseFormat(string, format)
    Parse the geo position in the specified format and returns the converted value
    Parameters:
    {string} string
    The string represantation of the geo position
    {string} format
    The name of a supported format
    Throws:
    {$k.exception.InvalidValue}
    If the string is not in the range of allowed values of the attribute, or if the format is not supported
    Returns:
    {$k.GeoPosition} The converted value