Skip to content

v11.10.0-rc.1

Pre-release
Pre-release

Choose a tag to compare

@mapbox-github-ci-writer-public-1 mapbox-github-ci-writer-public-1 released this 31 Jan 15:29
· 383 commits to main since this release

Important

Minimal deployment target is raised to iOS 14.0

Features ✨ and improvements 🏁

  • Expose experimental ColorTheme API to set style wide color theme. A color theme modifies the global colors of a style using a LUT (lookup table) for color grading.
    Pass the image either as a base64-encoded string or as UIImage:
let mapView = MapView()
mapView.mapboxMap.setMapStyleContent {
   ColorTheme(base64: "base64EncodedImage") // or use an uiimage shortcut ColorTheme(uiimage: lutImage)
}

Note: Each style can have only one ColorTheme. Setting a new theme overwrites the previous one. Further details can be fouund in documentation for ColorTheme

  • Add support for experimental *-use-theme propert that allow to override the color theme set on the Map. This is experimental and have several limitations - currently expressions are not supported. Color properties in Lights, Rain, Snow are not supported. *-use-theme for layer applied only after zoom level change.
  • Promote ClipLayer.clipLayerTypes and ClipLayer.clipLayerScope to stable.
  • Remove experimental DirectionalLight.shadowQuality.
  • Add experimental ViewAnnotationManager.viewAnnotationAvoidLayers for specifying layers that view annotations should avoid. The API currently only supports line layers.
  • Add support for the maxOverscaleFactorForParentTiles property in CustomRasterSource and CustomGeometrySource, allowing greater control over tile overscaling behavior when rendering custom raster tiles.

Bug fixes 🐞

  • Prefer last used anchor for DVA placement
  • Fix out of bound issue of gradient effect
  • Fix hidden elements caused by flood lighting
  • Fixing parsing raster sprite images with float stretch/content coordinates
  • Fix glyph loading issue when incorrect glyph url is used
  • Fix color theme data decoding
  • Speeding up start with big old offline database
  • Fixing disappearing tiles in some rare conditions

💫️ Other

  • Fix road shadows issues when far away and low zoom levels
  • Extend tilecover for elevated roads avoiding missing road segments

Dependencies

  • Update MapboxCommon to 24.10.0-rc.1.
  • Update MapboxCoreMaps to 11.10.0-rc.1.

Dependency requirements:

  • Compatible version of Xcode: 15.2.0