|
1 | | -# next |
| 1 | +# 0.3.0 |
2 | 2 |
|
3 | | -- `MapController#setStyle` no longer returns a Future. To know when the map |
4 | | - style has loaded, listen to `MapLibreMap#onStyleLoaded` |
| 3 | +In this release, I'm blazed to finally announce support for iOS. |
| 4 | +Similar to our other platforms, iOS uses FFI to natively interop between Dart |
| 5 | +and Swift/ObjC. Checkout |
| 6 | +the [iOS documentation](https://flutter-maplibre.pages.dev/docs/getting-started/setup-ios) |
| 7 | +to get started. |
| 8 | +A big thanks to @mhernz, @gabbopalma and @jt274 that helped with their awesome |
| 9 | +contributions in this release! |
| 10 | + |
| 11 | +This release introduces breaking changes. Head over to |
| 12 | +the [migration guide](https://flutter-maplibre.pages.dev/docs/upgrade) to learn |
| 13 | +more on how to update your implementation. |
| 14 | + |
| 15 | +### New Features |
| 16 | + |
| 17 | +- **Breaking** Require Flutter 3.35 |
| 18 | +- **Breaking** Migrate from `geotypes` |
| 19 | + to [geobase](https://pub.dev/packages/geobase). |
| 20 | +- **Breaking** Return logical pixels in events on all platforms. |
| 21 | +- **Breaking** Add `screenPoint` parameter to `MapEventUserInput` events to show |
| 22 | + the screen coordinates in logical pixels where the user interacted with the |
| 23 | + map. |
| 24 | +- **Breaking** Rename `rotationDuration` in `MapCompass` to |
| 25 | + `nativeRotationDuration`. |
| 26 | +- **Breaking** Multiple `MapController` functions are now called synchronously, |
| 27 | + their `*Sync()` overloads have been removed. |
| 28 | +- **Breaking** All declarative layers now require a `FeatureCollection`. This |
| 29 | + allows users to add properties to their layers. |
| 30 | +- Add iOS as supported platform with MapLibre Native iOS 6.18. |
| 31 | +- Update MapLibre Native Android to 11.13 |
| 32 | +- Load map styles from Flutter assets, a JSON string or via URI. |
| 33 | +- Add `setStyle()`, to know when the map style has loaded, listen to |
| 34 | + `onStyleLoaded()`. |
| 35 | +- Add support for PMTiles on the web. |
| 36 | +- Add `androidTranslucentTextureSurface` and `androidForegroundLoadColor` to use |
| 37 | + a translucent map. |
| 38 | +- Add `MapScalebar.units` to support imperial units in the scalebar. |
| 39 | +- Add `featuresAtPoint()` and `featuresInRect()` to `MapController`. |
| 40 | +- Update to `pigeon` 26.0.0 |
| 41 | + |
| 42 | +### Bug Fixes |
| 43 | + |
| 44 | +- Fix missing export of `BearingRenderMode` |
| 45 | +- Remove `dart:io` import to fix pub.dev WASM compatibility detection |
| 46 | + |
| 47 | +Full |
| 48 | +Changelog: [v0.2.2...v0.3.0](https://github.com/josxha/flutter-maplibre/compare/v0.2.2...v0.3.0) |
5 | 49 |
|
6 | 50 | ## 0.2.2 |
7 | 51 |
|
8 | | -Maintenance release and some new functionality. |
| 52 | +Maintenance release and some new functionality. |
9 | 53 | Thanks for your contribution in this release @jt274! |
10 | 54 |
|
11 | | -## New Features |
| 55 | +### New Features |
12 | 56 |
|
13 | 57 | - Migrate `requestLocationPermissions()` and `addLayer()` to use JNI |
14 | 58 | - Update `jni` and `jnigen` to v0.14 |
|
0 commit comments