ol/Geolocation
Classes
- GeolocationError
- Geolocation
Type Definitions
-
GeolocationObjectEventTypes{Types} {'change:accuracy'} {'change:accuracyGeometry'} {'change:altitude'} {'change:altitudeAccuracy'} {'change:heading'} {'change:position'} {'change:projection'} {'change:speed'} {'change:tracking'}
-
Options{Object}
-
Properties:
Name Type Description trackingboolean
(defaults to false)Start Tracking right after instantiation.
trackingOptionsPositionOptions | undefined Tracking options. See https://www.w3.org/TR/geolocation-API/#position_options_interface.
projectionProjectionLike | undefined The projection the position is reported in.
© 2005-present, OpenLayers Contributors All rights reserved.Licensed under the BSD 2-Clause License.
https://openlayers.org/en/latest/apidoc/module-ol_Geolocation.html