v11.5.0-rc.1
Pre-release
Pre-release
mapbox-github-ci-writer-public-1
released this
20 Jun 12:46
·
11 commits
to release/v11.5
since this release
11.5.0-rc.1 June 20, 2024
Breaking changes ⚠️
- [compose] Make
MapboxMap.onMapClickListener
andMapboxMap.onMapLongClickListener
nullable and default tonull
. - [compose] Rename
ImportConfig
toImportConfigs
. - [compose] Move
MapboxMap.mapEvents
to events flows inMapState
. - [compose] Move
MapboxMap.gesturesSettings
toMapState
. - Remove experimental
CustomRasterSource.invalidateRegion
andCustomRasterSource.invalidateTile
methods and change signature ofCustomRasterSource.setTileData
. - Remove experimental
CustomRasterSource.tileCacheBudget
getter and setter. If needed, caching should be implemented on user's side. - Remove experimental
MapboxMap
andStyle
methods:invalidateStyleCustomRasterSourceTile
,invalidateStyleCustomRasterSourceRegion
; change signature ofsetStyleCustomRasterSourceTileData
method inMapboxMap
andStyle
.
Features ✨ and improvements 🏁
- [compose] Introduce
StyleImport
composable API to be used in theGenericStyle
,MapStyle
andMapboxStandardStyle
. - [compose] Introduce
MapState
that can be hoisted to interact with map states, such as query rendered features, subscribe to map events and configure gestures settings. - Deprecate
MapboxMap.cameraForCoordinates
suspending extension function in favour of suspendMapboxMap.awaitCameraForCoordinates
. - Add min/max/default values to the docs for the generated properties.
- Add asynchronous
TileStore.create().clearAmbientCache()
API that can be used for clearing all ambient cache data. - Expose experimental
lineZOffset
andlineOcclusionOpacity
forLineLayer
. - Expose experimental
modelFrontCutoff
forModelLayer
. - Expose experimental
iconOcclusionOpacity
andtextOcclusionOpacity
forSymbolLayer
andPointAnnotationManager
. - Expose experimental
lineOcclusionOpacity
forPolylineAnnotationManager
. - Expose experimental
lineZOffset
forPolylineAnnotation
andPolylineAnnotationOptions
.
Bug fixes 🐞
- Fix
RasterParticleLayer.rasterParticleCount
andRasterParticleLayer.defaultRasterParticleCount
returningnull
. - Fix the rotated icon position during the globe transition.
- Fix Dynamic View Annotation (DVA) placement to place DVA in the center of the line geometry point, and try to avoid placing DVA near the lines' intersection point.
- Reduce the max raster-particle animation speed. It prevents particles from moving too fast, causing a visible clipping artifact at tile boundaries.
Dependencies
- Update gl-native to v11.5.0-rc.1 and common to v24.5.0-rc.1.