Interface GeolocationPosition
Properties
Readonlycoords
The coords read-only property of the GeolocationPosition interface returns a GeolocationCoordinates object representing a geographic position.
Readonlytimestamp
timestamp: number
The timestamp read-only property of the GeolocationPosition interface represents the date and time that the position was acquired by the device.
Was this helpful?
The
GeolocationPositioninterface represents the position of the concerned device at a given time. Available only in secure contexts.MDN Reference