0.39.0 (July 21, 2017)
⚠️ Breaking changes
GeolocateControlbreaking changes #4479- The option
watchPositionhas been replaced withtrackUserLocation - The camera operation has changed from
jumpTo(not animated) tofitBounds(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
maxZoomcan be controlled via the newfitBoundsOptionsoption (defaults to 15).
- The option
- Anchor
Markers at their center by default #4751 @andrewharvey - Increase
significantRotateThresholdfor theTouchZoomRotateHandler#4971, @dagjomar