Liking cljdoc? Tell your friends :D

web.geolocation.Geolocation

The Geolocation interface represents an object able to programmatically the position of the device. It gives Web content access to the of the device. This allows a Web site or app to offer customized based on the user's location.

The Geolocation interface represents an object able to programmatically
the position of the device. It gives Web content access to the
of the device. This allows a Web site or app to offer customized
based on the user's location.
raw docstring

clear-watchcljs

(clear-watch this id)

Method.

The Geolocation.clearWatch() method is used to unregister location/error handlers previously installed using Geolocation.watchPosition().

navigator.geolocation.clearWatch(id);

See also: https://developer.mozilla.org/en-US/docs/Web/API/Geolocation/clearWatch

Method.

The Geolocation.clearWatch() method is used to unregister location/error
handlers previously installed using `Geolocation.watchPosition()`.

`navigator.geolocation.clearWatch(id);`

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

get-current-positioncljs

(get-current-position this & args)

Method.

The Geolocation.getCurrentPosition() method is used to get the position of the device.

navigator.geolocation.getCurrentPosition(success[, error[, [options]])

See also: https://developer.mozilla.org/en-US/docs/Web/API/Geolocation/getCurrentPosition

Method.

The Geolocation.getCurrentPosition() method is used to get the
position of the device.

`navigator.geolocation.getCurrentPosition(success[, error[, [options]])`

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

watch-positioncljs

(watch-position this & args)

Method.

The web.geolocation.Geolocation method watchPosition() method used to register a handler function that will be called automatically time the position of the device changes.

navigator.geolocation.watchPosition(success[, error[, options]])

See also: https://developer.mozilla.org/en-US/docs/Web/API/Geolocation/watchPosition

Method.

The `web.geolocation.Geolocation` method watchPosition() method
used to register a handler function that will be called automatically
time the position of the device changes.

`navigator.geolocation.watchPosition(success[, error[, options]])`

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

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

× close