v0.2.1
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
removePinchOnPressedandwebRotationSpeedas parameters to theMapCompasswidget. - Allow the
SourceAttributionwidget to use multiple lines for its attributions. - Underline an attribution link for a
SourceAttributionwidget when hovered with a cursor. - Add the parameter
allowInteractionto theWidgetLayerthat 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