Skip to content

v11.8.0

Latest
Compare
Choose a tag to compare
@mapbox-github-ci-writer-public-1 mapbox-github-ci-writer-public-1 released this 11 Nov 13:14
· 20 commits to main since this release

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