Releases: mapbox/mapbox-maps-flutter
Releases · mapbox/mapbox-maps-flutter
1.0.0-rc.1
Features ✨ and improvements 🏁
- Add
LogConfiguration
allowing to intercept logs produced by the plugin. Pass your customLogWriterBackend
toLogConfiguration.registerLogWriterBackend()
to redirect logs produced by the mapping engine to your desired destination. - Add
MapWidget.onResourceRequestListener
that can be used to subscribe to resource requests made by the map. - Bump platform Maps SDK dependencies to 11.2.0-rc.1.
Bug fixes🐞
- [iOS] Re-wire
MapWidget
'sonScroll
event to be triggered whenever map is being panned instead of triggering it only after pan ends. - [iOS] Address crashes on iOS happening when user location is being shown.
1.0.0-beta.3
Features ✨ and improvements 🏁
- Bump platform Maps SDK dependencies to 11.2.0-beta.1.
- Add an example representing a traffic route with color based on traffic volumes using LineLayer and Expression.
- [Android] Use hybrid composition(HC) as the default platform view hosting mode on Android.
- [Android] Add experimental
androidHostingMode
constructor parameter toMapWidget
. Use this to change the way platform MapView is being hosted by Flutter on Android. This changes the way map view is composited with Flutter UI, read more on this in Android Platform Views guide from the Flutter team. - [iOS]
MapboxMap
:isGestureInProgress()
,isUserAnimationInProgress()
,setConstrainMode()
,setNorthOrientation()
,setViewportMode()
andreduceMemoryUse()
are now available on iOS.
Bug fixes🐞
- [Android] Fix MapOptions incorrect index access at map creation, leading to map not being created(blank view).
1.0.0-beta.2
Features ✨ and improvements 🏁
- Bump platform Maps SDK dependencies to 11.1.0
- ✨ You can now specify custom
id
when creating an annotation manager, thisid
will be assigned to its backing layer and source. Additionally, you can control the position of the annotation's layer related to other style layers, for example:
final manager = await mapboxMap.annotations.createPointAnnotationManager(id: "annotation-layer-id", below: "other-layer-id");
- ✨ You can now use
DefaultLocationPuck2D
when updating location settings to use the default appearance of MapboxMaps location puck. - ✨ We have added
_AnnotationManager.removeAnnotationManagerById()
allowing to remove annotation manager by its id, without having to store a reference to the manager. - ✨Make padding parameter optional in MapboxMap.cameraForCoordinateBounds() and MapboxMap.cameraForCoordinates().
- Convert all
MapboxMapsOptions
setters and getters to be static methods. - Bump Pigeon to v16.0.0.
- Update minimum Flutter SDK version to
3.10.0
and minimum Dart SDK version to3.0.0
.
Bug fixes🐞
- [iOS] Fix point annotation image disappearing after update.
- [iOS] Fix 2D puck's opacity not being respected.
- [Android] Fix initial camera options passed to MapWidget not being applied.
1.0.0-beta.1
Features ✨ and improvements 🏁
- Bump platform Maps SDK dependencies to 11.0.0.