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()`.
(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`
(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`
(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`
(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`
(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`
(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`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close