sharemap_maplib_flutter 1.1.0 copy "sharemap_maplib_flutter: ^1.1.0" to clipboard
sharemap_maplib_flutter: ^1.1.0 copied to clipboard

A MapLibre-based map widget for Flutter integrating ShareMap APIs, supporting dynamic POI layer toggling, HMAC-signed requests, and custom style loading.

1.1.0 #

  • Layers token: with xApiKey + secretKey, the SDK now exchanges them for a short-lived token at POST https://geomesh.sharemap.live/layer/token and attaches it as ?t= to layers.sharemap.live tile URLs. Tiles and layers use separate token sources and separate endpoints; a tiles token is rejected by layers. New optional layersTokenUrl overrides the layers endpoint (dev/staging).
  • Breaking default: enableTilesToken now defaults to true. Apps without keys keep using the free tier with no extra network calls; apps that set only one of xApiKey / secretKey get a configuration warning.
  • Mobile client identification: every request carries X-Sharemap-Client and a SharemapSDK/<version> (...) User-Agent with package name, OS, OS version and device model. See doc/mobile_client_identification.md.
  • Add POI models, ShareMapPoiService, map controller POI extension, sprite service and ShareMapSpriteIcon widget.
  • Add min zoom for business layers.
  • Style requests authenticate with the x-api-key header.
  • Debug panel logs transformed map requests.
  • Warn when a layer or POI call has xApiKey but no secretKey.

1.0.1 #

  • Upgrade sharemap_maplibre_gl to 0.26.2+sharemap.2, including the corrected iOS CocoaPods and Swift Package identities.

1.0.0 #

  • Map requests use MapLibre transformRequest to resolve authentication for each resource URL. HMAC credentials are sent through the x-api-key header; the style loader no longer inserts them into source, tile, or glyph URLs.
  • Add opt-in enableTilesToken: acquire and refresh short-lived tiles tokens, attach them as ?t= on supported tile hosts, and keep HMAC authentication for business layers and Geomesh APIs. The option remains disabled by default.
  • Fix Android MapLibre initialization before HTTP client/platform-view setup.
  • Fix Dart web compilation by removing an unsupported 64-bit integer literal.
  • Pin the hosted sharemap_maplibre_gl dependency to 0.26.2+sharemap.1. Known iOS limitation: this dependency still uses the old CocoaPods package identity; iOS integration is not verified for this release.
  • Android hosts require JDK 21, Android SDK 36, and NDK 28; the pinned MapLibre dependency specifies NDK 28.1.13356709.
  • Background Location remains experimental in this release. This version does not certify its stability; see the existing device-test checklist and limits.
  • Upgrade from 0.0.5: resolve the new package/dependency versions and perform a full rebuild after the native dependency changes (hot reload is insufficient).

0.0.5 #

  • Fix: Switch to published sharemap_maplibre_gl dependency and remove obsolete maplibre_gl git overrides.
  • Fix: Restore ShareMapLibre.isShareMapLayersHost static helper.
  • Fix: Repair missing or empty Android background-location disclosure strings during setup.

0.1.0-dev.1 #

  • Thêm vị trí nền native dạng chủ động bật cho Android và iOS.
  • Thêm model vị trí, trạng thái và lỗi đã chuẩn hóa cùng broadcast stream.
  • Thêm public options trực tiếp cho bốn tham số Android LocationRequest và năm tham số iOS CLLocationManager; không dùng profile hoặc tracking mode.
  • Hợp nhất public entry point: background location được gọi trực tiếp qua ShareMapLibre.start(), stop(), getStatus() và các stream liên quan.
  • Breaking: xóa ShareMapTrackingMode và field mode khỏi ShareMapLocationStatus; start() không truyền options vẫn dùng bộ giá trị mặc định tương đương cấu hình normal trước đây.
  • Thêm ShareMapTrackingOptions.maxDuration để ứng dụng host tùy chọn mốc tự dừng tổng thời lượng phiên; status bổ sung sessionStartedAt và expiresAt.
  • Thêm lệnh setup chạy lặp an toàn và lệnh doctor chỉ đọc cấu hình.
  • Thêm example tester tối giản, chỉ dùng public API để tích hợp foreground service Android và Core Location iOS.
  • Giữ nguyên API MapLibre hiện có; networking và lưu trữ dữ liệu nằm ngoài plugin.

0.0.3 #

  • Fix: Update street style URL path to correct sharemap-streets.json resource endpoint.

0.0.2 #

  • Fix: Resolve type compilation error by refactoring class inheritance with createState override.

0.0.1 #

  • Bản phát hành đầu tiên của widget ShareMap MapLibre.
0
likes
140
points
457
downloads

Documentation

API reference

Publisher

verified publishersharemap.live

Weekly Downloads

A MapLibre-based map widget for Flutter integrating ShareMap APIs, supporting dynamic POI layer toggling, HMAC-signed requests, and custom style loading.

Homepage
Repository (GitHub)

License

unknown (license)

Dependencies

crypto, device_info_plus, flutter, http, meta, package_info_plus, pointer_interceptor, sharemap_maplibre_gl, xml

More

Packages that depend on sharemap_maplib_flutter

Packages that implement sharemap_maplib_flutter