Liking cljdoc? Tell your friends :D

web.geolocation.PositionOptions

The PositionOptions interface describes an object containing properties to pass as a parameter of Geolocation.getCurrentPosition() Geolocation.watchPosition().

The PositionOptions interface describes an object containing
properties to pass as a parameter of `Geolocation.getCurrentPosition()`
`Geolocation.watchPosition()`.
raw docstring

enable-high-accuracycljs

(enable-high-accuracy this)

Property.

The PositionOptions.enableHighAccuracy property is a js.Boolean indicates the application would like to receive the best possible If true and if the device is able to provide a more accurate it will do so. Note that this can result in slower response times increased power consumption (with a GPS chip on a mobile device example). On the other hand, if false (the default value), the can take the liberty to save resources by responding more quickly using less power.

positionOptions.enableHighAccuracy = booleanValue

See also: https://developer.mozilla.org/en-US/docs/Web/API/PositionOptions/enableHighAccuracy

Property.

The PositionOptions.enableHighAccuracy property is a `js.Boolean`
indicates the application would like to receive the best possible
If true and if the device is able to provide a more accurate
it will do so. Note that this can result in slower response times
increased power consumption (with a GPS chip on a mobile device
example). On the other hand, if false (the default value), the
can take the liberty to save resources by responding more quickly
using less power.

`positionOptions.enableHighAccuracy = booleanValue`

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

maximum-agecljs

(maximum-age this)

Property.

The PositionOptions.maximumAge property is a positive long value the maximum age in milliseconds of a possible cached position is acceptable to return. If set to 0, it means that the device use a cached position and must attempt to retrieve the real current If set to Infinity the device must return a cached position regardless its age.

positionOptions.maximumAge = timeLength

See also: https://developer.mozilla.org/en-US/docs/Web/API/PositionOptions/maximumAge

Property.

The PositionOptions.maximumAge property is a positive long value
the maximum age in milliseconds of a possible cached position
is acceptable to return. If set to 0, it means that the device
use a cached position and must attempt to retrieve the real current
If set to Infinity the device must return a cached position regardless
its age.

`positionOptions.maximumAge = timeLength`

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

set-enable-high-accuracy!cljs

(set-enable-high-accuracy! this val)

Property.

The PositionOptions.enableHighAccuracy property is a js.Boolean indicates the application would like to receive the best possible If true and if the device is able to provide a more accurate it will do so. Note that this can result in slower response times increased power consumption (with a GPS chip on a mobile device example). On the other hand, if false (the default value), the can take the liberty to save resources by responding more quickly using less power.

positionOptions.enableHighAccuracy = booleanValue

See also: https://developer.mozilla.org/en-US/docs/Web/API/PositionOptions/enableHighAccuracy

Property.

The PositionOptions.enableHighAccuracy property is a `js.Boolean`
indicates the application would like to receive the best possible
If true and if the device is able to provide a more accurate
it will do so. Note that this can result in slower response times
increased power consumption (with a GPS chip on a mobile device
example). On the other hand, if false (the default value), the
can take the liberty to save resources by responding more quickly
using less power.

`positionOptions.enableHighAccuracy = booleanValue`

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

set-maximum-age!cljs

(set-maximum-age! this val)

Property.

The PositionOptions.maximumAge property is a positive long value the maximum age in milliseconds of a possible cached position is acceptable to return. If set to 0, it means that the device use a cached position and must attempt to retrieve the real current If set to Infinity the device must return a cached position regardless its age.

positionOptions.maximumAge = timeLength

See also: https://developer.mozilla.org/en-US/docs/Web/API/PositionOptions/maximumAge

Property.

The PositionOptions.maximumAge property is a positive long value
the maximum age in milliseconds of a possible cached position
is acceptable to return. If set to 0, it means that the device
use a cached position and must attempt to retrieve the real current
If set to Infinity the device must return a cached position regardless
its age.

`positionOptions.maximumAge = timeLength`

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

set-timeout!cljs

(set-timeout! this val)

Property.

The PositionOptions.timeout property is a positive long value the maximum length of time (in milliseconds) the device is allowed take in order to return a position. The default value is Infinity, that getCurrentPosition() won't return until the position is

positionOptions.timeout = timeLength

See also: https://developer.mozilla.org/en-US/docs/Web/API/PositionOptions/timeout

Property.

The PositionOptions.timeout property is a positive long value
the maximum length of time (in milliseconds) the device is allowed
take in order to return a position. The default value is Infinity,
that getCurrentPosition() won't return until the position is

`positionOptions.timeout = timeLength`

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

timeoutcljs

(timeout this)

Property.

The PositionOptions.timeout property is a positive long value the maximum length of time (in milliseconds) the device is allowed take in order to return a position. The default value is Infinity, that getCurrentPosition() won't return until the position is

positionOptions.timeout = timeLength

See also: https://developer.mozilla.org/en-US/docs/Web/API/PositionOptions/timeout

Property.

The PositionOptions.timeout property is a positive long value
the maximum length of time (in milliseconds) the device is allowed
take in order to return a position. The default value is Infinity,
that getCurrentPosition() won't return until the position is

`positionOptions.timeout = timeLength`

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

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

× close