ubhub_maps 0.3.1
ubhub_maps: ^0.3.1 copied to clipboard
Official UBHUB Flutter SDK with native vector maps, place-search widgets, typed geocoding, reverse geocoding, and routing.
Changelog #
0.3.1 #
- Add
UbHubBasemap.novaandUbHubMapOptions.basemapto show the Nova basemap (/v1/basemap/nova/*);UbHubBasemap.standardremains the default. - Android: allow up to 20 concurrent resource requests per map instead of OkHttp's default 5, so tiles, glyphs and sprites no longer queue behind each other.
- Android and iOS: pass a basemap
404to MapLibre as a real404, so missing tiles or glyph ranges are skipped instead of retried indefinitely.
0.3.0 #
- BREAKING: requires Flutter; plain Dart CLI/backend consumers must stay on 0.2.1.
- Consolidate native maps, place search, and REST services into
ubhub_maps. - Add Android/iOS map widgets with markers, route overlays, and camera control.
- Isolate native map credentials per session and reject redirected resources.
- Add debounced place search, a runnable Flutter example, and native CI checks.
- Replace
ubhub_maps_flutterimports withpackage:ubhub_maps/ubhub_maps.dart.
0.2.1 #
- Expose the complete CLI example at
example/main.dartfor pub.dev discovery. - Use the SDK default API origin in the example unless explicitly overridden.
- Preserve the original
example/basic_usage/main.dartentry point.
0.2.0 #
-
Use the verified deployed public API origin
https://developers.ubhub.mn. -
Share identical in-flight requests per client, avoiding duplicate HTTP calls, parsing, and API quota usage. Disable with
coalesceRequests: false. -
Never retain completed responses or failures; subsequent calls fetch fresh data.
-
Use typed byte buffers and fused UTF-8/JSON decoding for larger responses.
-
Avoid timing allocations when logging is disabled and reuse compiled patterns.
-
Add concurrency/stream regression tests and a reproducible Dart benchmark.
0.1.0 #
- Initial UBHUB Dart SDK using the package name
ubhub_maps. - Forward and reverse geocoding using the public
/v1/geocodecontract. - Driving and walking routes with typed GeoJSON geometry and snapped waypoints.
- Instance-scoped Bearer authentication and reusable HTTP connections.
- Typed failures, request IDs, rate-limit metadata, bounded timeouts, and safe logging.
- Deterministic unit tests, example, and opt-in staging integration tests.