baato_maps 2.0.0
baato_maps: ^2.0.0 copied to clipboard
A Flutter package for Baato Maps. Baato Maps is a powerful and flexible mapping solution for Flutter applications.
2.0.0 #
BREAKING #
- Requires Dart
>=3.7.0and Flutter>=3.29.0, as required bymaplibre_gl0.26.2 - Android builds now require JDK 21 —
maplibre_gl0.26.2 compiles at Java 21, and older JDKs fail withinvalid source release: 21 - Annotation
dataparameters narrowed fromMap<dynamic, dynamic>?toMap<String, dynamic>?across the marker and shape managers Baato*LayerProperties.toJson()now takes{bool skipNulls = true}to match the upstreamLayerPropertiessignature
Bug Fixes #
- Markers are visible again.
maplibre_gl0.26.0 stopped honouring each symbol'sfontNamesand hardcoded its annotation layers to["Open Sans Regular", "Arial Unicode MS Regular"]. A symbol carrying atextFieldcannot build without its glyphs, so the entire symbol was dropped — icon included. The stack is now taken from the active style - The map no longer flashes black while a bottom sheet or dialog animates over it.
maplibre_gl0.26.0 disabled texture mode by default, leaving the map on aSurfaceViewthat does not composite beneath animating Flutter widgets - Bundled sprites are copied to the cache once rather than on every launch; the previous check never matched the sprite filenames
- Failures while registering the default marker image are now logged instead of vanishing into an unawaited
Future
Features #
BaatoMapStyle.fontNamesdeclares the font stack a style's glyph endpoint serves.BaatoMapStyle.customStyle(styleURL, [fontNames])accepts one for custom styles; when unknown, no override is applied and maplibre's default is left in placeBaatoMap.symbolFontNamesoverrides the active style's font stackBaatoMap.translucentTextureSurfacecontrols AndroidTextureViewvsSurfaceViewrendering, defaulting to the pre-0.26.0 behaviour
Dependencies #
maplibre_gl^0.24.1→^0.26.2baato_api^2.0.1→^2.2.0path_provider^2.1.5→^2.1.6path^1.8.3→^1.9.1
1.1.0 #
1.0.3 #
- Controller can now be passed externally and initialized using
BaatoMapController() - Fixed issues with
onTapandonLongPresshandlers not triggering consistently
1.0.2 #
- Default style for iOS setup
1.0.1 #
- Baato lite map style added by default
1.0.0 #
- Initial release of Baato Maps Flutter Package
- Interactive Map Display with
BaatoMapWidget - Custom Map Styles including breeze and monochrome
- Location Services for user location tracking and updates
- Place Search with auto-suggestions using
BaatoPlaceAutoSuggestion - Marker Management to add, remove, and customize map markers
- Route Management for route display and navigation features
- Shape Drawing to draw circles, polygons, and other shapes on the map
- GeoJSON Support to visualize GeoJSON data on the map
- Coordinate Conversion between screen and geographic coordinates
- Layer Management to add and manage multiple map layers
- Cross-Platform support for both iOS and Android