NXSL:GeoLocation

Revision as of 23:32, 17 January 2016 by Victor (talk | contribs)

Represents geographical location (defined by latitude and longitude).


Class Name

GeoLocation


Constructor

GeoLocation(latitude, longitude, [type]);

If type is omitted 1 (manual) will be used.


Attributes

Name Type Description
latitude real Latitude as floating point number
latitudeText string Latitude as text
longitude real Longitude as floating point number
longitudeText string Longitude as text
type int32 Location type

Possible location types are:

Value Description
0 Unset (represents unknown location)
1 Manual (set by system administrator)
2 Automatic (obtained from GPS)
3 Network (obtained from network, for example using WiFi AP database)