v0.3.0
In this release, I'm blazed to finally announce support for iOS. Similar to our other platforms, iOS uses FFI to natively interop between Dart and Swift/ObjC. Checkout the iOS documentation to get started.
A big thanks to @mhernz, @gabbopalma and @jt274 that helped with their awesome contributions in this release!
This release introduces breaking changes. Head over to the migration guide to learn more on how to update your implementation.
New Features
- Breaking Require Flutter 3.35
- Breaking Migrate from
geotypesto geobase. - Breaking Return logical pixels in events on all platforms.
- Breaking Add
screenPointparameter toMapEventUserInputevents to show the screen coordinates in logical pixels where the user interacted with the map. - Breaking Rename
rotationDurationinMapCompasstonativeRotationDuration. - Breaking Multiple
MapControllerfunctions are now called synchronously, their*Sync()overloads have been removed. - Breaking All declarative layers now require a
FeatureCollection. This allows users to add properties to their layers. - Add iOS as supported platform with MapLibre Native iOS 6.19.
- Update MapLibre Native Android to 11.13
- Load map styles from Flutter assets, a JSON string or via URI.
- Add
setStyle(), to know when the map style has loaded, listen toonStyleLoaded(). - Add support for PMTiles on the web.
- Add
androidTranslucentTextureSurfaceandandroidForegroundLoadColorto use a translucent map. - Add
MapScalebar.unitsto support imperial units in the scalebar. - Add
featuresAtPoint()andfeaturesInRect()toMapController. - Update to
pigeon26.0.0
Bug Fixes
- Fix missing export of
BearingRenderMode - Remove
dart:ioimport to fix pub.dev WASM compatibility detection
Contributors: @mhernz, @jt274, @gabbopalma, @josxha
Full Changelog: v0.2.2...v0.3.0