any_map_maplibre 1.0.0
any_map_maplibre: ^1.0.0 copied to clipboard
MapLibre GL adapter for any_map. Free, open-source map rendering with 3D buildings, vector tiles, and no API key required.
1.0.0 #
- Updated to
any_map: ^1.0.0 - Implements new
AnyMapControllerabstract members:cameraPositionStream,visibleBoundsStream,fitBoundsWithInsets(),animatePolyline(),takeSnapshot() cameraPositionStreamandvisibleBoundsStreamemit live updates on every camera move via broadcastStreamControllerfitBoundsWithInsets()passes per-edge padding tomaplibre_glCameraUpdate.newLatLngBoundsanimatePolyline()progressively reveals polyline points using a periodicTimertakeSnapshot()callsmaplibreController.takeSnapshot()
0.1.0 #
- Initial release
- MapLibre GL adapter for any_map
- Full AnyMapController implementation with imperative overlay management
- 3D building extrusions via enable3DBuildings()
- Exposed nativeController for advanced MapLibre operations
- Runtime style switching via setStyle()
- Reactive overlay sync — markers, polylines, polygons, circles update on widget rebuild
- Safe disposal handling on style/backend switches
- Alpha-aware opacity for polygons and circles
- Symbol-based markers with rotation, opacity, drag support
- Line-based polylines with color, width, opacity
- Fill-based polygons with fill/stroke colors and holes
- Circle annotations with radius conversion
- Screen-to-LatLng and LatLng-to-screen coordinate conversion