W3cubDocs

/Haxe JavaScript

Position

package js.html

Available on js

The Position interface represents the position of the concerned device at a given time. The position, represented by a Coordinates object, comprehends the 2D position of the device, on a spheroid representing the Earth, but also its altitude and its speed.

Documentation Position by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Variables

read only coords:Coordinates

Returns a Coordinates object defining the current location.

read only timestamp:Int

Returns a DOMTimeStamp representing the time at which the location was retrieved.

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/js/html/Position.html