This release adds the last missing features for Android and Web, that were planned for now. The package will continue its ongoing efforts for stability before work to add iOS as a supported platform starts.
New Features
- Add
OfflineManager
for offline maps, cache management and bulk downloading. - Add
PermissionsManager
to check and request location permissions. - Add
WidgetLayer
to support widgets as Markers on the map. - Add alternative Flutter platform view options for Texture Layer Hybrid Composition, Hybrid Composition, Virtual Display.
- Bump MapLibre Native on Android to version
11.6.+
. - Add web-only controller functions
toScreenLocationSync()
,toLngLatSync()
,toScreenLocationsSync()
,toLngLatsSync()
,getMetersPerPixelAtLatitudeSync()
andgetVisibleRegionSync()
. - Add
MapOptions.of(context)
andMapOptions.maybeOf(context)
. - Add
padding
andalignment
parameters to theMapScalebar
widget.
Bug Fixes
- Fix WebAssembly builds.
- Remove unused
flutter_markdown
package.
Misc
- Add unit tests, add Android integration tests.
- Use codecov to monitor test coverage.
- Improve file structure by using a
/platform
directory.
Contributors: @josxha
Full Changelog: v0.1.1...v0.1.2