Class $k.GeoRange
Represents the value range of a geo position attribute
- Defined in: GeoRange.js
- Extends: $k.ValueRange
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[]}
-
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