Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

ios-v5.2.0-beta.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@MapboxCI MapboxCI released this 18 Jul 03:36
· 1324 commits to master since this release
19aa806

Changes since Mapbox Maps SDK for iOS v5.2.0-alpha.3:

Networking

  • Added methods to clear the ambient cache, change the size of the ambient cache, and to delete and revalidate the database that contains the ambient cache and offline packs (#14978):
    • -[MGLOfflineStorage clearAmbientCacheWithCompletionHandler:]
    • -[MGLOfflineStorage invalidateAmbientCacheWithCompletionHandler:]
    • -[MGLOfflineStorage setMaximumAmbientCacheSize:withCompletionHandler:]
    • -[MGLOfflineStorage resetDatabaseWithCompletionHandler:]
    • -[MGLOfflineStorage invalidatePack:withCompletionHandler:]

Styles and rendering

  • Fixed a map update bug caused by the render tiles and the render passes becoming unsynchronized. (#15092)
  • Fixed a custom geometry source bug caused by using the outdated tiles after style update #15112

User interaction

  • Fixed an issue where annotations could not be selected. (#15130)
  • Fixed a bug where using the pinch gesture could result in an incorrect map center coordinate. (#15097)

Offline maps

  • Ideographic glyphs from Chinese, Japanese, and Korean are no longer downloaded by default as part of offline packs; they are instead rendered on-device, saving bandwidth and storage while improving performance. (#14176)

Other changes

  • Added MGLMapView.compassView.compassVisibility and MGLOrnamentVisibility to allow configuration of compass visibility behavior. (#15055)
  • Fixed a crash during network access. (#15113)
  • Updated "map ID" to the more accurate term "tileset ID" in documentation; updated "style's Map ID" to the more accurate term "style URL". (#15116)

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.