Skip to content

Releases: mapbox/mapbox-maps-ios

v10.19.2

23 Jan 10:56
Compare
Choose a tag to compare

Changes

  • [MapboxCommon] Address high CPU usage in the com.mapbox.common.location.sharedRunLoop

Dependencies

  • Update MapboxCommon to 23.11.3.
  • MapboxCoreMaps 10.19.2

Dependency requirements:

  • Compatible version of Xcode: 14.1.0

11.10.0-beta.1

20 Jan 15:03
Compare
Choose a tag to compare
11.10.0-beta.1 Pre-release
Pre-release

Important

Minimal deployment target is raised to iOS 14.0

Known issues 🐞

  • Disappearing tiles in some rare conditions. The fix is scheduled for RC.

Features ✨ and improvements 🏁

  • Mark SymbolElevationReference, FillExtrusionBaseAlignment, FillExtrusionHeightAlignment, ModelScaleMode, ModelType, ClipLayerTypes, BackgroundPitchAlignment types as Experimental. Initially they were exposed as stable by mistake. If you use them, please import MapboxMaps with Experimental SPI:
@_spi(Experimental) import MapboxMaps
  • Localize geofencing attribution dialog.
  • Support dictionary expression literals.
  • Bump minimal deployment target from 12.0 to 14.0.
  • [SwiftUI] Expose new slot() method on annotation groups that takes Slot instead of String. Use the type with annotationGroups:
CircleAnnotationGroup {}
  // old
  .slot("middle")
  // new
  .slot(.middle)
  • Introduce ViewAnnotation.priority, deprecate ViewAnnotation.selected.
    Use this property to define view annotation sort order.
  • Introduce ViewAnnotation.minZoom and ViewAnnotation.maxZoom. Use these properties to configure zoom-level specific view annotations.
  • [tile_store] Migrate resources from HTTP URL to mapbox:// URI
  • Support expression input for promoteId
  • Expose zlevel of the current queried polygon in road elevation queries
  • Adjust depth bias when in orthographic mode
  • Use zLevelProgress property to disambiguate elevation on dynamic routes
  • Append http response message to response error

Bug fixes 🐞

  • Fix crash on style re-load if a config referenced in the expression was missing
  • Fixed missing on style loaded call if sprite is absent in cache and there are no network connection
  • Fixed background layers which used images from a mapbox-hosted style
  • Fixed images being displayed incorrectly in some cases with line patterns and line-join:none
  • Clipping next zoom with maxzoom during calculation of text/icon size. Fixed text-zoom interpolation to 0.
  • Fix too early sources loaded event
  • Fix line rendering for layers with elevated and non-elevated buckets
  • Fix incorrect progress when zLevel splitting

Dependencies

  • Update MapboxCommon to 24.10.0-beta.2.
  • Update MapboxCoreMaps to 11.10.0-beta.2.

Dependency requirements:

  • Compatible version of Xcode: 15.2.0

v11.9.1

20 Jan 12:19
Compare
Choose a tag to compare

Bug fixes 🐞

  • Fixed crash on style re-load if a config referenced in the expression was missing
  • Fixed missing on style loaded call if sprite is absent in cache and there are no network connection
  • Fixed background layers which used images from a mapbox-hosted style
  • Fixed disappearing tiles in some rare conditions

Dependencies

  • Update MapboxCommon to 24.9.0.
  • Update MapboxCoreMaps to 11.9.2.

Dependency requirements:

  • Compatible version of Xcode: 15.2.0

v11.9.0

19 Dec 12:44
Compare
Choose a tag to compare

Warning

⚠️⚠️⚠️ Upcoming breaking changes ⚠️⚠️⚠️

This is the last minor SDK version to support iOS 12 and iOS 13. Only versions v11.9.* will support iOS 12 and 13.
The subsequent minor releases (starting with v11.10.0-beta.1) will have iOS 14 as the minimum deployment target requirement.

Warning

⚠️⚠️⚠️ Potentially breaking changes ⚠️⚠️⚠️

Mark symbolElevationReference, symbolZOffset, lineTrimColor, lineTrimFadeRange, lineZOffset as Experimental in AnnotationManagers. This is potentially breaking change, however those properties are not marked as experimental only in AnnotationManagers by mistake.
In order to continue use them use the following import @_spi(Experimental) import MapboxMaps.

Features ✨ and improvements 🏁

output

Bug fixes 🐞

  • Function to update location for LocationIndicatorLayer now correctly encodes the data for the rendering engine.

Dependencies

  • Update MapboxCommon to 24.9.0.
  • Update MapboxCoreMaps to 11.9.0.

Dependency requirements:

  • Compatible version of Xcode: 15.2.0

v10.19.1

11 Dec 19:27
Compare
Choose a tag to compare

Changes

  • Fix issue when highlighted state isn't being preserved across tile boundaries.

Dependencies

  • Update MapboxCommon to 23.11.2.
  • Update MapboxCoreMaps to 10.19.2:

Dependency requirements:

  • Compatible version of Xcode: 14.1.0

v11.9.0-rc.1

09 Dec 17:46
Compare
Choose a tag to compare
v11.9.0-rc.1 Pre-release
Pre-release

Changes

  • Add a new API to disable custom resizing implementation of the MapView. To disable the custom resizing implementation, set MapView.resizingAnimation to .none.
  • Add to-hsla expression support.

Dependencies

  • Update MapboxCommon to 24.9.0-rc.1.
  • Update MapboxCoreMaps to 11.9.0-rc.1:

Dependency requirements:

  • Compatible version of Xcode: 15.2.0

v11.5.3

04 Dec 19:21
Compare
Choose a tag to compare

Changes

  • Add a way to filter attribution menu items.

Dependencies

  • Update MapboxCommon to 24.5.0.
  • Update MapboxCoreMaps to 11.5.3

Dependency requirements:

  • Compatible version of Xcode: 15.2.0

v11.9.0-beta.1

28 Nov 12:54
Compare
Choose a tag to compare
v11.9.0-beta.1 Pre-release
Pre-release

Warning

Custom(non Mapbox-hosted) sprites could fail to load in some scenarios.

⚠️⚠️⚠️ Potentially breaking changes ⚠️⚠️⚠️

  • Mark symbolElevationReference, symbolZOffset, lineTrimColor , lineTrimFadeRange, lineZOffset as Experimental in AnnotationManagers. This is potentially breaking change, however those properties are not marked as experimental only in AnnotationManagers by mistake.
    In order to continue use them use the following import @_spi(Experimental) import MapboxMaps.

Features ✨ and improvements 🏁

  • Add two separete Geofence examples in SwiftUI - GeofencingPlayground and GeofencingUserLocation
  • Add support for Base and Height alignment in FillExtrusionLayer.
  • Add support for pitchAlignment in BackgroundLayer.
  • Add support for zOffset in FillLayer, PolygonAnnotation[Manager] and PolygonAnnotationGroup.
  • Add a property emphasisCircleGlowRange to LocationIndicatorLayer to control the glow effect of the emphasis circle – from the solid start to the fully transparent end.
  • Add a new Expression initializer init(_ operator: Operator, _ arguments: ExpressionArgumentConvertible...) to simplify the creation of expressions with multiple arguments.
    That initializer doesn't require to wrap arguments in Argument cases. For example, Exp(.eq, Exp(.get, "extrude"), "true").
  • Expose a TileStore/clearAmbientCache() method to clear ambient cache.
  • Add new experimental radius parameter to TapInteraction, LongPressInteraction and interaction managers to control the radius of a tappable area.
  • Add a way to specify image expression options.
  • Add new experimental APIs to control precipitation rendering. Snow and Rain are available now with an @_spi(Experimental) import prefix.
  • Add a way to filter attribution menu items.

Bug fixes 🐞

  • Fix a crash on calling LocationIndicatorLayer/location(coordinate:) function due to missing 0 altitude value.

Dependencies

  • Update MapboxCommon to 24.9.0-beta.1.
  • Update MapboxCoreMaps to 11.9.0-beta.1:
    • Changelog * Vector icons support: SDK will now download vector icons and rasterize them locally, which will results in better icon quality for icons resized via icon-size. Changeable colors support: icon expression can now have optional parameter to change named colors described in SVG icons metadata. * Add support for shadows from elevated structures. * fix dark shade * Fix rendering of interleaved SDF and non-SDF icons in the same layer * Fix line-emissive-strength not being applied to patterned lines * Fix shader fog computation being incorrectly enabled for landmarks * workaround for instancing on PowerVR devices. * Handle empty payloads for offline resources * Encapsulate config expression in assertion expression when expected return type is known * Fixed a bug which caused icon shifts in some cases

Dependency requirements:

  • Compatible version of Xcode: 15.2.0

v11.8.0

11 Nov 13:14
Compare
Choose a tag to compare

Features ✨ and improvements 🏁

Important

Configuring Mapbox's secret token is no longer required when installing our SDKs.

  • ✨ Introduce experimental Geofencing API. Please take a look at example showcase of Geofencing:
    • GeofencingPlayground A tappable map interface where users can generate an isochrone-based geometry, which can then be added as a custom geofence.
    • GeofencingUserLocation A geofence surrounding the user's location, with a dynamic highlight color that changes to indicate specific geofence events.
  • Refactor of the experimental Featuresets and Interactions API:
    • InteractiveFeature is renamed to FeaturesetFeature.
    • Introduce new StandardPoiFeature, StandardBuildingsFeature, StandardPlaceLabelsFeature.
    • Introduce new FeaturesetDescriptor.
  • Generate MapStyle.standard and MapStyle.standardSatellite from the style specification. Added the new StandardFont type to represent the font family in these configurations. If you used a string variable, please update your code as the shown below:
    // Old:
    Map().mapStyle(.standard(font: fontValue))
    Map().mapStyle(.standard(font: "lato"))
    // New:
    Map().mapStyle(.standard(font: StandardFont(rawValue: fontValue)))
    Map().mapStyle(.standard(font: .lato))
    Map().mapStyle(.standard(font: "lato"))
  • Introduce experimental property MapboxMap.styleGlyphURL. Use this property to apply custom fonts to the map at runtime, without modifying the base style.
  • Make fill-extrusion-emissive-strength property data-driven
  • Dispatch view annotations update before rendering
  • Skip rendering landmarks when the camera is inside them

Bug fixes 🐞

  • Fix a console warning (Source x missing for layer x) when using annotation managers.
  • [SwiftUI] Fixed crash when ForEvery was used with duplicated IDs.
  • Improve zooming performance on dynamic Standard terrain and optimize terrain re-rendering performance on e.g route line line-trim-offset change.
  • Respect polygons with holes on querying rendered features
  • Fix self-overlap of line corners when large line-width is used
  • Adjust conflation intersection test padding to fix disappearing fill-extrusion
  • Fix TileCover bug with polygon horizontal edges
  • Fix a bug with image dependent paint properties not getting a correct value after image become available
  • Fix for fill-extrusion replacement reconciliation
  • Clear tile pyramid on color theme change before the tiles are updated
  • Fix missing images notifications for images within coalesce expression when other images in coalesce are present. Image expressions with two arguments are no longer being considered present if only second image is present.
  • Fix crash on style pack load when no access token is set
  • Fix crash on TerrainRenderer when using snapshotter
  • Fix crash on re-creation of a custom raster source when different options are provided
  • Return parsing errors if runtime added style import JSON is not valid
  • Fix missing models in rendering result if reduceMemoryUse is called before taking snapshot
  • Fix the incorrect behaviour when using symbol-z-oder property
  • Fix raster-particle trail discontinuity at the antimeridian
  • Fix the bug when MapView would ignore the new bounds size if there are more than a single resizing event in the animation.
  • Encapsulate config expression in assertion expression when expected return type is known

💫️ Other

  • Resolve autoMaxZoom for feature
  • Fix texture gather for shadows not being selected correctly by default
  • Performance improvements for runtime-added images

Dependencies

  • Update MapboxCommon to 24.8.0.
  • Update MapboxCoreMaps to 11.8.0

Dependency requirements:

  • Compatible version of Xcode: 15.2.0

v11.8.0-rc.1

24 Oct 11:53
Compare
Choose a tag to compare
v11.8.0-rc.1 Pre-release
Pre-release

Features ✨ and improvements 🏁

  • [geofencing][billing] Trigger billing event for geofencing

Bug fixes 🐞

  • Fix the bug when MapView would ignore the new bounds size if there are more than a single resizing event in the animation.
  • Encapsulate config expression in assertion expression when expected return type is known
  • [geofencing] Fix GeofencingUtils.isActive in case we did not start geofencing

💫️ Other

  • Resolve autoMaxZoom for feature
  • Fix texture gather for shadows not being selected correctly by default
  • Performance improvements for runtime-added images

Dependencies

  • Update MapboxCommon to 24.8.0-rc.1.
  • Update MapboxCoreMaps to 11.8.0-rc.1:

Dependency requirements:

  • Compatible version of Xcode: 15.2.0