maimaps_flutter 0.1.2 copy "maimaps_flutter: ^0.1.2" to clipboard
maimaps_flutter: ^0.1.2 copied to clipboard

Official Maimaps SDK for Flutter — place search, routing, reverse geocoding, point details, Loccode resolution, and a MapLibre-powered map widget.

Changelog #

0.1.2 #

  • The map wordmark is now the Maimaps pin icon + wordmark lockup, replacing the text-only mark. Art is bundled in the package and renders with no network access, in light and dark variants.
  • The lockup is adaptive: it scales with the map's width and is always kept inside the map's bounds, so it stays whole on wide banner maps, narrow columns, card previews, and thumbnails alike. The icon and the wordmark always appear together — the mark is never reduced to the pin alone.
  • MaimapsWordmark can now pick up updated branding from the map host at runtime, so future brand changes reach apps already shipped to the App Store and Play Store without a rebuild. This is strictly an override: if the fetch fails for any reason — offline, blocked host, no branding service deployed — the bundled lockup stays on screen with no error and no layout shift.
  • New MaimapsWordmark.options for map shells built on a raw MapLibreMap that render the wordmark before Maimaps.initialize.
  • MaimapsWordmark.scaleFor(BoxConstraints) is deprecated in favour of WordmarkLayout.scaleForViewport(width:, height:), which honors geometry served by the map host. The old call still works — now returning the adaptive scale — and will be removed in 0.2.0. showWordmark, wordmarkPosition, and wordmarkPadding are unchanged.

0.1.1 #

  • The MaimapsWordmark overlay now scales with the map viewport: full size on screen-sized maps, proportionally smaller text and edge padding on compact surfaces such as card previews.
  • New MaimapsMap.showWordmark flag (default true) to render an unbranded map, e.g. for first-party embeds.
  • New MaimapsMap.wordmarkPadding to inset the wordmark from the map edges, lifting it above UI chrome overlaying the map (bottom sheets, buttons).

0.1.0 #

Initial release.

  • REST clients for the Maimaps /sdk/v1 API: search, routing, reverse geocoding, point details, place categories, and Loccode resolve/nearest.
  • MaimapsMap: MapLibre GL map widget rendering the keyed Maimaps published style, with declarative layers and overlay children.
  • User location on MaimapsMap: myLocationEnabled shows the native location puck (requesting runtime permission when needed) and followUserLocation makes the camera track the user, turning with the GPS course; both can be toggled at runtime (Android/iOS; ignored on web).
  • Always-on MaimapsWordmark overlay, movable between corners via wordmarkPosition.
  • Typed exceptions for invalid keys, rate limits (with retryAfter), and exceeded quotas; precision-5 polyline decoder for route geometry.
0
likes
150
points
223
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Official Maimaps SDK for Flutter — place search, routing, reverse geocoding, point details, Loccode resolution, and a MapLibre-powered map widget.

Homepage

License

Apache-2.0 (license)

Dependencies

dio, flutter, maplibre

More

Packages that depend on maimaps_flutter