yarrow_map_flutter_sdk 0.0.5
yarrow_map_flutter_sdk: ^0.0.5 copied to clipboard
Flutter SDK for Yarrow Maps with API parity to the web SDK.
0.0.5 #
- Breaking:
apiKeyis now a required parameter inYarrowMapConfig. - API key is automatically attached to all requests via Dio interceptor.
- Migrate routing endpoints to new API (
/api/routing/route) with updated coordinate and response formats. - Migrate search endpoint to new API (
/api/search/) with flat results structure and additional query parameters. - Add
changeBrandBadgePosition()method for dynamic badge repositioning at runtime. - Update brand badge and map controls with glassmorphism design (backdrop blur, updated colors and shadows).
- Improve search result rendering: conditional icon vs circle+label layers when results lack icons.
- Fix icon loading: clear registered images on style reload, fix trailing slash on icons endpoint.
0.0.4 #
- Add web-SDK parity APIs:
addSource,updateSourceData,queryRenderedFeatures, andaddLayer(options: ...)withsourceId/filter. - Expand controls positions to 6-way placement (
left,leftTop,leftBottom,right,rightTop,rightBottom). - Add automatic controls/badge collision inset for shared corners.
0.0.3 #
- Migrate from
maplibreto officialmaplibre_gl. - Expose GeoJSON clustering options in
YarrowMap.addLayer(...):cluster,clusterRadius,clusterMaxZoom,clusterProperties.
0.0.2 #
- Add
YarrowMap.onCustomLayerClick(layerId, callback)for click handling on SDK-added custom layers.
0.0.1 #
- TODO: Describe initial release.