v0.23.0
Pre-release
Pre-release
What's Changed
Caution
USE 0.24.0 VERSION INSTEAD OF THIS ONE!
This consolidated release delivers runtime style switching, hover interactions, heatmap & visibility features, native SDK updates, and broad naming / enum casing harmonization. It also fixes several interaction and stability issues across web and mobile.
If you are upgrading from <= 0.22.x:
- Review the breaking rename (
Maplibre->MapLibre) and enum / const lowerCamelCase migration. - Adapt feature interaction callbacks:
onFeatureTapped/onFeatureDragnow receive anAnnotationinstead of anidargument. - Ensure any style access happens after
onStyleLoadeddue to stricter style readiness checks.
A big thank you to everyone who contributed to this update!
Warning
Breaking changes
Added / Features
- Runtime style switching APIs on controller (#444) and raw style JSON setting on iOS / Web (#603).
- Hover interaction events (
onFeatureHover) (#614). - Heatmap layer support (#365).
- Bounds fitting API to change viewport to given bounds (#133).
- Layer visibility control (#138).
LatLngBounds.containsconvenience (#498).
Changed / Updates
- MapLibre Native: Android 11.13.5 & iOS 6.19.1.
- Flutter / Gradle plugin & tooling compatibility update (#542).
- Lint and analysis alignment via very_good_analysis and flutter_lints (#452, #434, #414, #419).
- Package link updates & style resource relocation (
MaplibreStylesmoved to main package) (#435, #413).
Fixed
- iOS code generation (Offset / Translate / expression arrays) (#481).
- Annotation tap consumption now properly respected (
annotationConsumeTapEvents). - Prevent calling
notifyListeners()after controller disposal (#621). - Web: event listener cancellation & hover handling robustness (#623).
- Offline region download crash in example (#569).
- Added style loaded safety checks (#563).
- Aligned example and web pubspec versions (#476).
- Web: enforce maplibre-gl-js 4.x & remove shadow root stylesheet workaround (#409).
Refactor / Quality
- Enable and fix additional lint rules (#452).
New Contributors
Contributors: @AlexanderThiele, @mhernz, @TarekTolba1, @srmncnk, @itheamc, @kuhnroyal, @albertmoravec, @gabbopalma
Full Changelog: v0.22.0...v0.23.0