Skip to main content

bardiyamap_flutter 0.1.0 copy "bardiyamap_flutter: ^0.1.0" to clipboard
bardiyamap_flutter: ^0.1.0 copied to clipboard

MapLibre map widget for Bardiya Map with backend-proxied styles, route and marker overlays, and no API keys in the application bundle.

Changelog #

0.1.0 — 2026-11-29 #

  • Initial Flutter integration.
  • BardiyaMap widget backed by maplibre_gl 0.27.1.
  • Re-exports bardiyamap_sdk so a single import provides Maps, Tracking, device ingest, SSE streaming, and webhook verification.
  • BardiyaMapController camera control (moveCamera, animateCamera, fitCoordinates, fitRoute, boundsForCoordinates, and safe dispose).
  • BardiyaLocation / locationGeoJson overlay layer and BardiyaRoute.fromDirectionsResponse / fromGeoJsonCoordinates.
  • assertSafeStyle guard rejecting embedded bdy_live_*, bdy_test_*, and api_key= style strings.
  • BardiyaRealtimeController lifecycle-aware SSE subscription manager with background pause/resume, bounded reconnects, event-id deduplication, and safe disposal.
  • Key-free design: the style must be a public or customer-backend-proxied URL or inline JSON; the widget accepts no API key and registers no native credential.
  • BardiyaRoute and BardiyaMarker overlays as GeoJSON line and circle layers.
  • Style reload and overlay removal are handled idempotently.

Changed:

  • HistoryPoint.event_id is an integer (tracking_location_events.id, a PostgreSQL BIGINT) as of contract 1.1.0. Contract 1.0.0 declared it as a string while the server always returned a JSON number, so strict decoders rejected a populated history page.

Fixed:

  • Harden BardiyaMap style validation against api_key%3d, x-api-key=, and URL userinfo credentials; add BardiyaRealtimeController.forViewer with token renewal and reconnect snapshot resync clearing seen event IDs.
0
likes
150
points
--
downloads

Documentation

API reference

Publisher

verified publisherbardiyamap.com

Weekly Downloads

MapLibre map widget for Bardiya Map with backend-proxied styles, route and marker overlays, and no API keys in the application bundle.

Homepage
View/report issues

Topics

#maps #maplibre #flutter

License

Apache-2.0 (license)

Dependencies

bardiyamap_sdk, flutter, maplibre_gl

More

Packages that depend on bardiyamap_flutter