Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mapbox-gl: GeolocateControl support v0.39.0
⚠️ Breaking changes GeolocateControl breaking changes mapbox/mapbox-gl-js#4479 The option watchPosition has been replaced with trackUserLocation The camera operation has changed from jumpTo (not animated) to fitBounds (animated). An effect of this is the map pitch is no longer reset, although the bearing is still reset to 0. The accuracy of the geolocation provided by the device is used to set the view (previously it was fixed at zoom level 17). The maxZoom can be controlled via the new fitBoundsOptions option (defaults to 15). New option showUserLocation to draw a "dot" as a Marker on the map at the user's location
- Loading branch information