Mapbox Maps: v10.0.0-beta.21
nishant-karajgikar
released this
03 Jun 22:24
·
1501 commits
to main
since this release
Dependency requirements:
- Compatible version of MapboxCoreMaps: v10.0.0-beta.23
- Compatible version of MapboxCommon: v13.0.0
- Compatible version of Xcode: 12.4
- Compatible version of MacOS: Big Sur
Changes
10.0.0-beta.21 - June 3, 2021
Breaking changes ⚠️
- Updated MapboxCoreMaps and MapboxCommon dependencies. (#388)
- Removed the
MBX
prefix fromMBXGeometry
,MBXGeometryType
andMBXFeature
. Existing uses of the similar Turf types need to be fully namespaced, i.e.Turf.Feature
- Introduced separate minZoom/maxZoom fields into CustomGeometrySourceOptions API instead of the formerly used
zoomRange
- Improved zooming performance.
- Fixed terrain transparency issue when a sky layer is not used.
- Removed the
MapboxMap.__map
is now private. (#374)- Added
CameraManagerProtocol.setCameraBounds
,MapboxMap.prefetchZoomDelta
,MapboxMap.options
,MapboxMap.reduceMemoryUse()
,MapboxMap.resourceOptions
andMapboxMap.elevation(at:)
. (#374) - Removed
OfflineError.invalidResult
andOfflineError.typeMismatch
. (#374) - Updated
Projection
APIs to be more Swift-like. (#390) - Added
ResourceOptionsManager
and removedCredentialsManager
which it replaces.ResourceOptions
is now a struct. (#396) - Updated the ambient cache path. (#396)
- Removed
CameraAnimationsManager.setCamera()
and renamedCameraManagerProtocol._setCamera
toCameraManagerProtocol.setCamera()
. UseMapView.mapboxMap.setCamera()
to set the camera. (#426) - Removed
MapCameraOptions
andRenderOptions
; this behavior has moved to bothMapboxMap
andMapView
. (#427) - The Annotations library has been rebuilt to expose many more customization options for each annotation. (#398)
- High level animations return
Cancelable
instead ofCameraAnimator
. (#400)
Bug fixes 🐞
- Fixed a bug with
TileStore.tileRegionGeometry
returning invalid value. (#390) - Fixed a bug where the underlying renderer was not being destroyed. (#395)
- Fixed a bug where the snapshotter completion handler was being called twice on cancellation.
(#382) - Fixed a bug where
GestureManager.delegate
was inaccessible. (#401)
Features ✨ and improvements 🏁
- Added
Snapshotter.coordinateBounds(for:)
andSnapshotter.camera(for:padding:bearing:pitch:)
. (#386)
Development 🛠
- Dependency management for development of the SDK has moved to Swift Package Manager and the existing Cartfile has been removed.
Direct download
Link to download binaries (append your own Mapbox access token scoped with DOWNLOADS:READ
):
https://api.mapbox.com/downloads/v2/mobile-maps-ios/releases/ios/10.0.0-beta.21/MapboxMaps.zip?access_token=<access-token>