Skip to content

v0.2.1

Latest
Compare
Choose a tag to compare
@josxha josxha released this 16 Feb 20:51
· 1 commit to main since this release
eecca95

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 and webRotationSpeed as parameters to the MapCompass 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 the WidgetLayer that allows widgets to detect gestures on these widgets.
  • Reintroduce awaitable moveCamera(), animateCamera() and fitCamera() 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() and fitCamera() 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