Skip to content

v11.31.0

Latest

Choose a tag to compare

@mapbox-github-ci-writer-public-1 mapbox-github-ci-writer-public-1 released this 18 Sep 13:29
· 37 commits to main since this release

Breaking changes ⚠️

  • Remove the experimental raster-allow-draping property from RasterLayer.

Features ✨ and improvements 🏁

  • Add experimental MapOptions.emissiveColorPrecision to control emissive color accuracy for draped layers.
  • Introduce experimental support for draggable ViewAnnotations. In UIKit, set ViewAnnotation.isDraggable and observe onDraggingChanged/onDragCoordinateChanged. In SwiftUI, use the new MapViewAnnotation(coordinate:content:onDraggingChanged:) initializer, keeping your own Binding as the source of truth for the coordinate.
  • Use default location puck appearance when enabling 2D puck without customization, e.g.: mapView.location.options.puckType = .puck2D().

Bug fixes 🐞

  • Fix a crash when querying rendered or source features whose tile geometry has out-of-range coordinates.
  • Fix arbitrary view annotation placement when multiple world copies are visible at low zoom or near the antimeridian: the copy is now chosen by proximity to the viewport center, or by the coordinate a GeoJSON annotation names, and held while it stays placeable. Coordinates authored outside [-180, 180] no longer fail to place.
  • Fix an issue where setStyleSourceProperty on a style import's source had no effect: sources with matching URLs merge into the root-level one by default, and the change wasn't applied to it.
  • Fix brightness-dependent paint properties not updating after a light or light preset change, such as switching lightPreset in the Standard style.
  • Ignored SDF images from text-field don't affect collision detection anymore

Dependencies

  • Update MapboxCommon to 24.31.0.
  • Update MapboxCoreMaps to 11.31.0.

Dependency requirements:

  • Compatible version of Xcode: 26.5