Skip to content

Mapbox Maps: v10.0.0-beta.21

Compare
Choose a tag to compare
@nishant-karajgikar 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 from MBXGeometry, MBXGeometryType and MBXFeature. 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.
  • MapboxMap.__map is now private. (#374)
  • Added CameraManagerProtocol.setCameraBounds, MapboxMap.prefetchZoomDelta, MapboxMap.options, MapboxMap.reduceMemoryUse(), MapboxMap.resourceOptions and MapboxMap.elevation(at:). (#374)
  • Removed OfflineError.invalidResult and OfflineError.typeMismatch. (#374)
  • Updated Projection APIs to be more Swift-like. (#390)
  • Added ResourceOptionsManager and removed CredentialsManager which it replaces. ResourceOptions is now a struct. (#396)
  • Updated the ambient cache path. (#396)
  • Removed CameraAnimationsManager.setCamera() and renamed CameraManagerProtocol._setCamera to CameraManagerProtocol.setCamera(). Use MapView.mapboxMap.setCamera() to set the camera. (#426)
  • Removed MapCameraOptions and RenderOptions; this behavior has moved to both MapboxMap and MapView. (#427)
  • The Annotations library has been rebuilt to expose many more customization options for each annotation. (#398)
  • High level animations return Cancelable instead of CameraAnimator. (#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:) and Snapshotter.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>