This release builds upon the long anticipated merged threads in Flutter 3.29.0
which removes the need of switching threads. Furthermore, the release contains a
couple of features and new fixes.
Thanks for your contributions for this release, @felix-larsen and @pamtbaau!
New Features
- Upgrade MapLibre Native on Android to 11.8.0 which introduces support for PMTiles.
- Add
removePinchOnPressed
andwebRotationSpeed
as parameters to theMapCompass
widget. - Allow the
SourceAttribution
widget to use multiple lines for its attributions. - Underline an attribution link for a
SourceAttribution
widget when hovered with a cursor. - Add the parameter
allowInteraction
to theWidgetLayer
that allows widgets to detect gestures on these widgets. - Reintroduce awaitable
moveCamera()
,animateCamera()
andfitCamera()
on Android. - Use synchronous JNI calls on Android to prevent thread hopping.
Bug Fixes
- Fix exceptions when the map widget rebuilds a lot in a short amount of time.
- Fix
moveCamera()
,animateCamera()
andfitCamera()
does not ignore null parameters. - Fix app freeze on Android using Flutter 3.29.0 caused by the merged threads.
- Fix exception when adding a RasterSource programatically.
Misc
- Update examples and documentation.
- Set minimum Flutter version to 3.29.0 and minimum Dart version to 3.7.0.
- Use the new code formatting.
- Upgrade pigeon to 24.
Contributors: @felix-larsen, @pamtbaau, @josxha
Full Changelog: v0.2.0...v0.2.1