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

PlatformiOSweb

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

Changelog #

0.1.3 #

  • MaimapsMap now shows the map data credit, which it previously omitted entirely. It is a single ⓘ button in the bottom-right — the corner opposite the wordmark — that expands on tap into the credit the loaded style declares, normally © OpenMapTiles © OpenStreetMap contributors, with tappable links. Maimaps basemaps are built from OpenStreetMap data under the ODbL and rendered through OpenMapTiles, both of which require credit wherever the map is shown, so a map without it left both us and the app out of licence compliance.
  • The credit text is never hardcoded: it is read from the style's sources, so changing tile provider changes the credit with no SDK release. It is picked up whenever it arrives — the credit travels in the source's TileJSON, which loads after the style document does.
  • The button is sized and placed off the same layout as the wordmark, so its centre sits on the wordmark's centre line and it scales down with the map exactly as the wordmark does on card previews and thumbnails.
  • New MaimapsAttribution widget, plus showAttribution and attributionPosition on MaimapsMap. Turn showAttribution off only if the app presents the same credit somewhere the reader can reach from the map.
  • No new transitive dependencies: html, url_launcher, and pointer_interceptor already arrived with maplibre and are now named directly.

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
21
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, html, maplibre, pointer_interceptor, url_launcher

More

Packages that depend on maimaps_flutter