Releases: josxha/flutter-maplibre
Releases · josxha/flutter-maplibre
v0.1.1
New Features
- Add
controller.queryLayers()
to check what layers have been clicked. - Add scalebar, zoom buttons, compass and attribution widgets as an unified user interface.
- Improve hash distribution
- Add
MapOptions
parameters to toggle platform specific UIs.
Bug Fixes
- Fix
controller.getVisibleRegion()
throws exception on Android.
Contributors: @josxha
Full Changelog: v0.1.0...v0.1.1
v0.1.0
Breaking Changes
- Use a "Web" prefix for all web-only controls, for example
WebGeolocateControl
. - Rename web-only
MapOptions.controls
toMapOptions.webControls
. - Rename
jumpTo()
tomoveCamera()
andflyTo()
toanimateCamera()
. - Add
init
prefix to not modifiableMapOptions
parameters. - Remove click callbacks in favor of the event system.
- Bump minimum Flutter version to 3.24.0 (Minimum Dart version of 3.5.0).
- Can't await the end of
animateCamera()
in this version.
Read the Upgrade Guide for instructions on how to upgrade.
New Features
- Bump MapLibre Android SDK to 11.5.1.
- Add high level
AnnotationLayer
s as easy to use annotations. - Use jnigen for direct interop with Java.
- Add user location to the map.
- Check Style for Kotlin
Contributors: @josxha
Full Changelog: v0.0.2...v0.1.0
v0.0.2
Features
- Add event system to the map.
- Bump MapLibre Native on Android to version 11.5.0.
- Bump other gradle dependencies.
- Add and remove sources to the active map style programmatically.
- Add and remove layers to the active map style programmatically.
- Add
minZoom
,maxZoom
,minPitch
,maxPitch
andmaxBounds
parameter. - Add duration parameters to
flyTo()
. - Add option to disable some or all input gestures.
flyTo()
returns after the animation completes or throws an exception if it
has been cancelled.- Deprecate
tilt
parameters in favor ofpitch
. - Deprecate
onClick
,onDoubleClick
,onSecondaryClick
andonLongClick
in
favor of the event system.
Bug fixes
- Fix
jumpTo()
never returns on Android.
Contributors: @gabbopalma, @josxha
Full Changelog: v0.0.1+1...v0.0.2