Class: GeoRange

$k. GeoRange

new $k.GeoRange()

Represents the value range of a geo position attribute

Extends

Methods

formats() : Array.<string>

Returns the names of the supported formats

Returns:
Type Description
Array.<string>

parseFormat(string, format) : $k.GeoPosition

Parse the geo position in the specified format and returns the converted value

Name Type Description
string string

The string represantation of the geo position

format string

The name of a supported format

Throws:
Type Description
$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:
Type Description
$k.GeoPosition The converted value

Intherited methods