Skip to content

Releases: mapbox/mapbox-maps-ios

v11.3.0-rc.1

28 Mar 15:17
Compare
Choose a tag to compare
v11.3.0-rc.1 Pre-release
Pre-release

Known Issues ⚠️

  • The tiles fetching from the offline database is malfunctioning for the composited sources. Setting "com.mapbox.maps.experimental.offline_vt_compositing" runtime settings flag to false resolves this issue
let settings = SettingsServiceFactory.getInstance(storageType: .nonPersistent) // Storage type must be nonPersistent
settings.set(key: "com.mapbox.maps.experimental.offline_vt_compositing", value: false)

Features ✨ and improvements 🏁

  • [tile store] Expose API for estimating Tile Region downloads and storage size, by @tatiana-yan (29db563)
  • [offline] Now the composited tile payload will include parent tile data from the tile pack in cases where the ideal zoom component is missing

Bug fixes 🐞

  • Fix a crash that could occur on Metal when the texture object would outlive the renderer
  • Fix a bug where specifying a large negative value for padding resulted in the returned zoom value being NaN
  • Fix location indicator models rendering issue with globe projection
  • Fix the issue with invalid privacy manifest #2145

Dependencies

  • Update MapboxCommon to 24.3.0-rc.1
  • Update MapboxCoreMaps to 11.3.0-rc.1

Dependency requirements:

  • Compatible version of Xcode: 15.2.0

v11.3.0-beta.1

14 Mar 14:51
Compare
Choose a tag to compare
v11.3.0-beta.1 Pre-release
Pre-release

In this release, the minimum supported version of Xcode has been updated to 15.2 (Swift 5.9).

Features ✨ and improvements 🏁

  • Add API to handle gestures and expand clusters of point annotations
  • Add annotations drag handlers callbacks dragBeginHandler, dragChangeHandler, dragEndHandler to all annotation types.
  • [SwiftUI] Expose the captureSnapshot on MapProxy which allows to capture SwiftUI Map snapshot using MapReader
  • [SwiftUI] Expose opaque and frameRate on SwiftUI Map
  • [SwiftUI] Add allowHistTesting modifier on MapViewAnnotation.
  • [SwiftUI] Fix view annotations positioning on .ignoresSafeArea(.all)
  • Add includeOverlays parameter to MapView.snapshot()
  • Added Attribution and Telemetry pop-up dialogs and compass view content description translations for Arabic, Belarusian, Bulgarian, Catalan, Chinese Simplified, Chinese Traditional, Czech, Danish, Dutch, French, Galician, German, Hebrew, Italian, Japanese, Korean, Lithuanian, Norwegian, Polish, Belarusian, Russian, Spanish, Swedish, Ukranian and Vietnamese.
  • Change tinygltf in favor of cgltf
  • Use mipmap with pattern images
  • Support for meshopt compression in mapbox landmarks
  • [tile_store] Enable delta updates by default for Maps domain.

Bug fixes 🐞

  • Fix taps propagation on ViewAnnotation and MapViewAnnotation.
  • Fix layer paint property update with feature state changes, especially if the paint property value data-driven by brightness or zoom
  • Fix snapshotter race conditions to ensure new request could effectively trigger map rendering
  • Fix raster array band updates glitches during the camera zoom animation
  • Reload vector source tiles when language or worldview setting is changed.
  • Apply config expression to atmosphere properties.
  • Fix map freezing when using queryRenderedFeatures with 3d models in mercator projection
  • Reduce time spent on line gradient updates on the render thread
  • [reachability] Fix reachability status getting stuck with ReachableViaWWAN status if HTTP requests completed at the same time as network reported being disconnected

Dependencies

Dependency requirements:

  • Compatible version of Xcode: 15.2

v10.16.6

04 Mar 14:09
Compare
Choose a tag to compare

Bug fixes 🐞

  • Reduce network data transfer on style package update.

Dependencies

  • Update MapboxCoreMaps to 10.16.6.
  • Update MapboxCommon to 23.9.1.

Dependency requirements:

  • Compatible version of Xcode: 14.1.0

v11.2.0

28 Feb 16:04
Compare
Choose a tag to compare

Features ✨ and improvements 🏁

  • visionOS support. Check out our Work with visionOS article to get started! 🚀 35a3bea by @persidskiy
  • Add easing curve parameter to CameraAnimationsManager.fly(to:duration:curve:completion), make TimingCurve public with few more options. fb71405 by @aleksproger
  • Expose MapboxMap.centerAltitudeMode and ensure correct centerAltitudeMode on gesture ending. d83e2e3 by @aleksproger
  • Expose extra configuration methods for MapboxMap: setNorthOrientation(_:), setConstrainMode(_:) and setViewportMode(_:).
    Use them to configure respective map options after creating a map view. d83148d by @evil159
  • Expose MapboxMap.reduceMemoryUse() which can be used in situations when it is important to keep the memory footprint minimal. d83148d by @evil159
  • Expose MapboxMap.isAnimationInProgress and MapboxMap.isGestureInProgress to query current status of both built-in and custom camera animations and gestures. d83148d by @evil159
  • Expose experimental CustomRasterSource and non-experimental CustomGeometrySource as regular Source's providing a better way to work with them and also allow for using them in Style DSL. 711ac7f by @pjleonard37
  • Introduce tileCacheBudget property on GeoJsonSource, RasterSource, RasterDemSource, RasterArraySource, VectorSource, CustomGeometrySource, and CustomRasterSource. 942afd6 by @pjleonard37
  • MapboxMaps/setTileCacheBudget(size:) will now use the TileCacheBudgetSize property, the older method with TileCacheBudget has been deprecated and will be removed in a future major release. 942afd6 by @pjleonard37
  • Introduce SymbolLayer.iconColorSaturation API. ed4a831 by @aleksproger
  • Introduce experimental RasterLayer.rasterElevation API. ed4a831 by @aleksproger
  • Introduce experimental MapboxMap.collectPerformanceStatistics allowing to collect map rendering performance statistics, both for UIKit and SwiftUI. 1a5fd6f by @aleksproger

Bug fixes 🐞

  • Fix MapView flickering during resizing. 8824c0c by @OdNairy
  • Fix glitch in chained camera animations. 8824c0c by @OdNairy
  • Build XCFramework with SWIFT_SERIALIZE_DEBUGGING_OPTIONS=NO flag to avoid serialized search paths in Swift modules. 84b7724 by @OdNairy
  • Fixed a crash that occurs when annotations have duplicate identifiers. 1b7dfcc by @persidskiy
  • Fix Map and encompassing List scroll at the same time. 4367c15 by @aleksproger

Dependencies

  • Update MapboxCoreMaps to 11.2.0
  • Update MapboxCommon to 24.2.0.

Dependency requirements:

  • Compatible version of Xcode: 14.3.1

v10.16.5

23 Feb 06:51
Compare
Choose a tag to compare

Bug fixes 🐞

  • Address crashes on certain devices by disabling the texture pool
  • Fix snapshotter race conditions to ensure new request could effectively trigger map rendering

Dependencies

  • Update MapboxCoreMaps to 10.16.5.
  • Update MapboxCommon to 23.9.0.

Dependency requirements:

  • Compatible version of Xcode: 14.1.0

v11.2.0-rc.1

15 Feb 21:27
Compare
Choose a tag to compare
v11.2.0-rc.1 Pre-release
Pre-release

Features ✨ and improvements 🏁

  • model-emissive-strength support for landmarks
  • Little speedup of preparing tiled sources for rendering
  • Uploading model resources to GPU in continuous map mode is now limited by fixed time per frame
  • Modified fill-extrusion-cutoff-fade-range to scale down and remove buildings in a staggered fashion, instead of fading opacity

Bug fixes 🐞

  • Fix Map and encompassing List scroll at the same time by @aleksproger
  • visionOS small enhancements by @persidskiy @azarovalex
  • Fix model-cutoff-fade-range calculation on low zoom levels
  • Fixed rare null pointer dereference crash
  • Fix crash in device location provider
  • Fix cache invalidation region coordinates parsing: accept integers.

Dependencies

Dependency requirements:

  • Compatible version of Xcode: 14.3.1

v11.2.0-beta.1

01 Feb 19:36
Compare
Choose a tag to compare
v11.2.0-beta.1 Pre-release
Pre-release

Features ✨ and improvements 🏁

  • visionOS support. Check out our Work with visionOS article to get started! 🚀 35a3bea by @persidskiy
  • Add easing curve parameter to CameraAnimationsManager.fly(to:duration:curve:completion), make TimingCurve public with few more options. fb71405 by @aleksproger
  • Expose MapboxMap.centerAltitudeMode and ensure correct centerAltitudeMode on gesture ending. d83e2e3 by @aleksproger
  • Expose extra configuration methods for MapboxMap: setNorthOrientation(_:), setConstrainMode(_:) and setViewportMode(_:).
    Use them to configure respective map options after creating a map view. d83148d by @evil159
  • Expose MapboxMap.reduceMemoryUse() which can be used in situations when it is important to keep the memory footprint minimal. d83148d by @evil159
  • Expose MapboxMap.isAnimationInProgress and MapboxMap.isGestureInProgress to query current status of both built-in and custom camera animations and gestures. d83148d by @evil159
  • Expose experimental CustomRasterSource and non-experimental CustomGeometrySource as regular Source's providing a better way to work with them and also allow for using them in Style DSL. 711ac7f by @pjleonard37
  • Introduce tileCacheBudget property on GeoJsonSource, RasterSource, RasterDemSource, RasterArraySource, VectorSource, CustomGeometrySource, and CustomRasterSource. 942afd6 by @pjleonard37
  • MapboxMaps/setTileCacheBudget(size:) will now use the TileCacheBudgetSize property, the older method with TileCacheBudget has been deprecated and will be removed in a future major release. 942afd6 by @pjleonard37
  • Introduce SymbolLayer.iconColorSaturation API. ed4a831 by @aleksproger
  • Introduce experimental RasterLayer.rasterElevation API. ed4a831 by @aleksproger
  • Introduce experimental MapboxMap.collectPerformanceStatistics allowing to collect map rendering performance statistics, both for UIKit and SwiftUI. 1a5fd6f by @aleksproger

Bug fixes 🐞

  • Fix MapView flickering during resizing. 8824c0c by @OdNairy
  • Fix glitch in chained camera animations. 8824c0c by @OdNairy
  • Build XCFramework with SWIFT_SERIALIZE_DEBUGGING_OPTIONS=NO flag to avoid serialized search paths in Swift modules. 84b7724 by @OdNairy
  • Fixed a crash that occurs when annotations have duplicate identifiers. 1b7dfcc by @persidskiy

Dependencies

  • Update MapboxCoreMaps to 11.2.0-beta.1
  • Update MapboxCommon to 24.2.0-beta.1.
  • Bump Turf version to 2.8.0.
  • Bump minimum Xcode version to 14.3.1.

Dependency requirements:

  • Compatible version of Xcode: 14.3.1

Maps SDK v11.1.0

17 Jan 15:03
Compare
Choose a tag to compare

Features ✨ and improvements 🏁

  • Add customData field in Annotaion and deprecate userInfo. userInfo behaviour rolled back to v10 behaviour. 6e0c736 by @aleksproger
  • Make padding optional in MapboxMap.camera(for:padding:bearing:pitch:maxZoom:offset:) and MapboxMap.camera(for:padding:bearing:pitch:). 06d6602 by @evil159
  • Expose method to get coordinate info for point(s): MapboxMap.coordinateInfo(for:) and MapboxMap.coordinatesInfo(for:). 58aa4f2 by @evil159
  • [SwiftUI] Expose Map.gestureHandlers() for handling Map gesture events. 741fa51 by @persidskiy
  • Introduce experimental RasterArraySource, along with RasterLayer.rasterArrayBand. 920fcac by @evil159
  • Introduce -emissiveStrength attribute for FillExtrusionLayer, HillShadeLayer and RasterLayer. 920fcac by @evil159

Bug fixes 🐞

  • Fix the bug where the annotation could disappear when it is dragged. 3ab355f by @persidskiy
  • Fixed a bug where the attribution dialog does not appear when there is a presented view controller. 9e09f50 by @persidskiy

Dependencies

  • Update MapboxCoreMaps to 11.1.0.
  • Update MapboxCommon to 24.1.0.

Dependency requirements:

  • Compatible version of Xcode: 14.1.0

v10.16.4

10 Jan 10:49
Compare
Choose a tag to compare

Changes

Features ✨ and improvements 🏁

  • Update MapboxCoreMaps to 10.16.4 and MapboxCommon to 23.8.6
  • [TileStore] Improve stability.

Bug Fixes 🐞

  • Fix tile flickering when terrain is enabled.
  • Fix a race condition on repeated style transitions where the transition fails for some layers.
  • Fix incorrect camera positions while using setBounds.
  • Reload image-dependent tiles when sprites are loaded.
  • Exclude duplicated tileID in tileCover query results.
  • Fix artifacts at style transition by using a more robust approach for updating data-driven properties.
  • [TileStore] Initialize config service when global access token is set with TileStore.setOptionForKey

Dependencies

  • Update MapboxCommon to 23.8.6.
  • Update MapboxCoreMaps to 10.16.4:

Dependency requirements:

  • Compatible version of Xcode: 14.1.0

v11.1.0-rc.1

04 Jan 14:50
Compare
Choose a tag to compare
v11.1.0-rc.1 Pre-release
Pre-release

Maps SDK (11.1.0-rc.1)

Bug fixes 🐞

  • Fix the bug where the annotation could disappear when it is dragged.

MapboxCoreMaps (11.1.0-rc.1)

Bug fixes 🐞

  • Fixed wrong camera positions while using setBounds
  • Fixes missing IDs of flat light types when configured through the setLights API
  • Reload image-dependent tiles on when sprites are loaded
  • Fix an issue where memory use would grow continuously with Z-offset enabled symbol layers
  • Fix crash when using Dynamic View Annotation with location indicator enabled but visibility is turned from visible to none
  • Fix getStyleSourceProperties() API for RasterArray source
  • Fix unreliable position update of View Annotations
  • Fix invalid GL_INVALID_ENUM error when default FBO gets discarded

MapboxCommon (24.1.0-rc.1)

Features ✨ and improvements 🏁

  • [tile_store] Disable In-memory download by default
  • [tile_store] Cancel in-memory download that contains only requests with SkipDataLoading flag
  • [billing] Add Nav v3 SKU Identifiers

Bug fixes 🐞

  • [tile_store] Do not count non-serveable invalidated resources as completedResource when getting group

Dependency requirements:

  • Compatible version of Xcode: 14.1.0