Releases: mapbox/mapbox-gl-native
ios-v5.4.0
Please reach out to Mapbox Support if you have any questions regarding the new iOS 13 location dialog that appears when NSLocationAlwaysAndWhenInUseUsageDescription
is set.
Changes since Mapbox Maps SDK for iOS v5.3.2:
Styles and rendering
- Added an
-[MGLMapSnapshotter startWithOverlayHandler:completionHandler:]
method to provide the snapshot's currentCGContext
in order to perform custom drawing onMGLMapSnapshot
objects. (#15530) - Fixed an issue that caused
MGLTileSourceOptionMaximumZoomLevel
to be ignored when settingMGLTileSource.configurationURL
. (#15581) - Fixed an assertion caused by adding a layer to an incompatible source. (#15644)
- Fixed crashes triggered when
MGLSource
andMGLStyleLayer
objects are accessed after having been invalidated after a style change. (#15539) - Fixed an issue where the collision boxes for symbols would not be updated when
MGLSymbolStyleLayer.textTranslation
orMGLSymbolStyleLayer.iconTranslation
were used. (#15467) - Enabled use of
MGLSymbolStyleLayer.textOffset
option together withMGLSymbolStyleLayer.textVariableAnchor
(ifMGLSymbolStyleLayer.textRadialOffset
option is not provided). (#15542) - Fixed an issue that caused constant repainting for sources with invisible layers. (#15600)
User interaction
- Fixed an issue that caused the tilt gesture to trigger too easily and conflict with pinch or pan gestures. (#15349)
- Fixed an issue that caused the map to rotate too easily during a pinch gesture. (#15562)
Performance improvements
- Improved offline region download performance by batching certain database activities. (#15521)
- Newly loaded labels appear faster on the screen. (#15308)
Other changes
- Fixed a bug where the completion block passed to
-[MGLMapView flyToCamera:completionHandler:]
(and related methods) wouldn't be called. (#15473) - Fixed a crash when offline pack invalidation happened on different threads. (#15582)
- Fixed a potential integer overflow at high zoom levels. (#15560)
- Fixed a bug with annotation view positions after camera transitions. (#15122)
Known issues
- Edge padding is persisted when set through
[MGLMapView setCamera:withDuration:animationTimingFunction:edgePadding:completionHandler:]
. (#15233)
Workaround: Manually set thecontentInset
property in the completion handler. - Ornaments layout does not respect the contentInset property. (#15584)
Documentation is available online or as part of the download.
android-v8.4.0
Changes since Mapbox Maps SDK for Android v8.4.0-beta.1:
Bug fixes
- Fixing a crash when
CameraPosition
padding is set when usingMapSnapshotter
. #15699
Other Changes
ios-v5.3.2
Changes since Mapbox Maps SDK for iOS v5.3.1:
- Fixed an issue where
-[MGLMapView visibleFeaturesInRect:]
and-[MGLShapeSource featuresMatchingPredicate:]
could return incorrect coordinates at zoom levels 20 and higher. (#15560)
Documentation is available online or as part of the download.
android-v8.4.0-beta.1
Changes since Mapbox Maps SDK for Android v8.4.0-alpha.2:
Bug fixes
- Fixed an issue that
maxzoom
in styleSources
option was ignored when URL resource is provided. It may cause problems such as extra tiles downloading at higher zoom level thanmaxzoom
, or problems that wrong setting ofoverscaledZ
inOverscaledTileID
that will be passed toSymbolLayout
, leading wrong rendering appearance. #15581 - Fixed constant repainting for the sources with invisible layers, caused by
RenderSource::hasFadingTiles()
returningtrue
all the time. #15600 - Fixed an issue that caused the state of CompassView not up to date when
UiSettings.setCompassEnabled()
is set to true. #15606 - Ignore location tracking mode based animations when the camera is transitioning. #15641
- Fixed MapSnapshotter so that
MapSnapshotter.withApiBaseUri
works again. #15642 - Fixed an assertion hit caused by possibility of adding a layer to an incompatible source. #15644
android-v8.3.3
[android] - changelog for v8.3.2
android-v8.3.2
8.3.2 - September 19, 2019
Changes since Mapbox Maps SDK for Android v8.3.1:
Bug fixes
- Fixed an issue of integer overflow when converting
tileCoordinates
toLatLon
, which caused issues such asqueryRenderedFeatures
andquerySourceFeatures
returning incorrect coordinates at zoom levels 20 and higher. #15560
android-v8.3.1
Changes since Mapbox Maps SDK for Android v8.3.0:
Bug fixes
ios-v5.4.0-beta.1
Changes since Mapbox Maps SDK for iOS v5.4.0-alpha.2:
Styles and rendering
- Added an
-[MGLMapSnapshotter startWithOverlayHandler:completionHandler:]
method to provide the snapshot's currentCGContext
in order to perform custom drawing onMGLMapSnapShot
objects. (#15530) - Fixed an issue that caused
MGLTileSourceOptionMaximumZoomLevel
to be ignored when settingMGLTileSource.configurationURL
. (#15581) - Fixed an assertion hit caused by possibility of adding a layer to an incompatible source. (#15644)
- Fixed a rendering issue of
collisionBox
whenMGLSymbolStyleLayer.textTranslate
orMGLSymbolStyleLayer.iconTranslate
is enabled. (#15467) - Fixed a crash when
-[MGLOfflinePack invalidate]
is called on different threads. (#15582)
Performance improvements
- Newly loaded labels appear faster on the screen. (#15308)
Other changes
- Fixed constant repainting for the sources with invisible layers, caused by
RenderSource::hasFadingTiles()
returningtrue
all the time. (#15600)
To install this pre-release via a dependency manager, see our CocoaPods or Carthage instructions.
Documentation is available online or as part of the download.
ios-v5.3.1
Changes since Mapbox Maps SDK for iOS v5.3.0:
Styles and rendering
- Fixed an issue where connecting coincident holes in a polygon could lead to a race condition. (#15660)
Other changes
- Fixed an issue where the scale bar text would become illegible if iOS 13 dark mode was enabled. (#15524)
- Fixed an issue with the appearance of the compass text in iOS 13. (#15547)
Documentation is available online or as part of the download.
ios-v5.4.0-alpha.2
Changes since Mapbox Maps SDK for iOS v5.4.0-alpha.1:
Styles and rendering
- Fixed crashes triggered when
MGLSource
andMGLStyleLayer
objects are accessed after having been invalidated after a style change. (#15539) - Fixed a bug where the completion block passed to
-[MGLMapView flyToCamera:completionHandler:
(and related methods) wouldn't be called. (#15473)
Other changes
- Fixed a potential integer overflow at high zoom levels. (#15560)
To install this pre-release via a dependency manager, see our CocoaPods or Carthage instructions.
Documentation is available online or as part of the download.