Liking cljdoc? Tell your friends :D

web.geolocation.Position

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

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

coordscljs

(coords this)

Property.

The Position.coords read-only property, a web.geolocation.Coordinates represents a geographic attitude: it contains the location, that longitude and latitude on the Earth, the altitude, and the speed the object concerned, regrouped inside the returned value. It contains accuracy information about these values.

coord = position.coords

See also: https://developer.mozilla.org/en-US/docs/Web/API/Position/coords

Property.

The Position.coords read-only property, a `web.geolocation.Coordinates`
represents a geographic attitude: it contains the location, that
longitude and latitude on the Earth, the altitude, and the speed
the object concerned, regrouped inside the returned value. It
contains accuracy information about these values.

`coord = position.coords`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Position/coords`
sourceraw docstring

set-coords!cljs

(set-coords! this val)

Property.

The Position.coords read-only property, a web.geolocation.Coordinates represents a geographic attitude: it contains the location, that longitude and latitude on the Earth, the altitude, and the speed the object concerned, regrouped inside the returned value. It contains accuracy information about these values.

coord = position.coords

See also: https://developer.mozilla.org/en-US/docs/Web/API/Position/coords

Property.

The Position.coords read-only property, a `web.geolocation.Coordinates`
represents a geographic attitude: it contains the location, that
longitude and latitude on the Earth, the altitude, and the speed
the object concerned, regrouped inside the returned value. It
contains accuracy information about these values.

`coord = position.coords`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Position/coords`
sourceraw docstring

set-timestamp!cljs

(set-timestamp! this val)

Property.

The Position.timestamp read-only property, a web.dom.DOMTimeStamp represents the date and the time of the creation of the web.geolocation.Position it belongs to. The precision is to the millisecond.

var timestamp = position.timestamp

See also: https://developer.mozilla.org/en-US/docs/Web/API/Position/timestamp

Property.

The Position.timestamp read-only property, a `web.dom.DOMTimeStamp`
represents the date and the time of the creation of the `web.geolocation.Position`
it belongs to. The precision is to the millisecond.

`var timestamp = position.timestamp`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Position/timestamp`
sourceraw docstring

timestampcljs

(timestamp this)

Property.

The Position.timestamp read-only property, a web.dom.DOMTimeStamp represents the date and the time of the creation of the web.geolocation.Position it belongs to. The precision is to the millisecond.

var timestamp = position.timestamp

See also: https://developer.mozilla.org/en-US/docs/Web/API/Position/timestamp

Property.

The Position.timestamp read-only property, a `web.dom.DOMTimeStamp`
represents the date and the time of the creation of the `web.geolocation.Position`
it belongs to. The precision is to the millisecond.

`var timestamp = position.timestamp`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Position/timestamp`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close