-
Name Type Description lon
number | string Longitude, in geographic coordinate system
lat
number | string Latitude, in geographic coordinate system
Extends
Methods
-
Gets a value.
Name Type Description key
string Key name.
Returns:
Value.
-
Obtain latitude coordinate
Returns:
Latitud
-
Obtain longitude coordinate
Returns:
Coordinate Longitude
-
Sets a value.
Name Type Description key
string Key name.
value
* Value.
silent
boolean Update without triggering an event.
-
Transform position to array
[longitude, latitude]
. -
Position to string. Format
longitude,latitude
.Returns:
To string longitude,latitude. For example: `"1.41651,41.541451"