Releases: mapbox/mapbox-maps-flutter
Releases · mapbox/mapbox-maps-flutter
v2.20.0
New Features ✨
- Add experimental
shadowDrawBeforeLayerproperty to directional light to allow specifying the position in the layer stack for drawing shadows on the ground. - Introduce new
LineLayer.lineElevationGroundScaleproperty to scale elevated lines with terrain exaggeration. - Promote elevated lines properties to stable:
LineLayer.lineZOffsetandLineLayer.lineElevationReference. - Add experimental
ModelLayer.modelAllowDensityReductionproperty to disable density reduction in model layers. - Add
FollowPuckViewportState.paddingto control camera padding when following the user's location puck, allowing the puck to be offset from the viewport center (e.g. for navigation UIs where the puck should appear near the bottom of the screen).
Bug fixes 🐞
- Map ornaments positioning
Fix incorrect positioning of map ornaments when multiple ornaments are placed in the same corner.
Dependency Updates
v2.20.0-rc.1
New Features ✨
- Add experimental
shadowDrawBeforeLayerproperty to directional light to allow specifying the position in the layer stack for drawing shadows on the ground. - Introduce new
LineLayer.lineElevationGroundScaleproperty to scale elevated lines with terrain exaggeration. - Promote elevated lines properties to stable:
LineLayer.lineZOffsetandLineLayer.lineElevationReference. - Add experimental
ModelLayer.modelAllowDensityReductionproperty to disable density reduction in model layers. - Add
FollowPuckViewportState.paddingto control camera padding when following the user's location puck, allowing the puck to be offset from the viewport center (e.g. for navigation UIs where the puck should appear near the bottom of the screen).
Dependency Updates
v2.19.1
v2.19.0
v2.19.0-rc.1
v2.19.0-beta.1
v2.18.0
New Features ✨
- Add
deleteMulti()method to all annotation managers to enable batch deletion of annotations. - Add experimental MapRecorder API to record and replay map interactions for debugging and performance testing.
- Thanks for the contribution, @protheeuz!
Dependency Updates
v2.18.0-beta.1
Important
Known Issue - Android Memory Usage: This beta release contains a memory usage issue on Android that may cause increased memory consumption during map usage sessions. This issue will be addressed in the upcoming stable release.
New Features ✨
deleteMulti()method: All annotation managers now support efficient batch deletion of multiple annotations, improving performance when removing large numbers of annotations at once.- Record and replay map interactions: New experimental API for capturing map interactions, animations, and user gestures for debugging and performance testing purposes.
Dependency Updates
v2.17.0
Note
Version numbering has been updated to align with Mapbox's cross-platform SDK versioning scheme. We skipped from 2.12.0 to 2.17.0 to synchronize with other Mapbox SDKs, ensuring consistent version numbers across all platforms.
New Features ✨
- Promote
ModelLayerto stable. - Add
SymbolLayer.iconColorBrightnessMax,SymbolLayer.iconColorBrightnessMin,SymbolLayer.iconColorContrast,SymbolLayer.occlusionOpacityMode,FillExtrusionLayer.fillExtrusionCastShadows,RasterArraySource.volatile, andPolylineAnnotation.lineEmissiveStrengthproperties. - Update default value for experimental
LineLayer.lineCutoutOpacityfrom 0 to 1.0. - Add the ability to get all annotations from an annotation manager.
- Add
customDatafield to annotations to be able to pass user data. - Add nautical miles scale bar distance unit.
- Update property type for experimental
LineLayer.lineCutoutOpacity, andLineLayer.lineCutoutFadeWidthfrom layout to paint.
Bug fixes 🐞
- [iOS] Fix annotation interaction handlers (tap, drag etc.) not working after annotation update.
- [Android] Fix memory leaks on Android.
Dependency Updates
v2.17.0-rc.1
Note
Version numbering has been updated to align with Mapbox's cross-platform SDK versioning scheme. We skipped from 2.12.0 to 2.17.0-beta.1 to synchronize with other Mapbox SDKs, ensuring consistent version numbers across all platforms.
New Features ✨
- Add the ability to get all annotations from an annotation manager.
- Add
customDatafield to annotations to be able to pass user data. - Add nautical miles scale bar distance unit.
- Update property type for experimental
LineLayer.lineCutoutOpacity,LineLayer.lineCutoutWidth, andLineLayer.lineCutoutFadeWidthfrom layout to paint.
Bug fixes 🐞
- [iOS] Fix annotation interaction handlers (tap, drag etc.) not working after annotation update.