Using Stadia Maps

'flutter_map' is in no way associated or related with Stadia Maps.

Stadia Maps' home page: stadiamaps.com Stadia Maps' pricing page: stadiamaps.com/pricing Stadia Maps' documentation page: docs.stadiamaps.com

To display their map tiles, Stadia Maps usually provides a 'Static Maps Base URL' for map styles. However, to integrate with 3rd-party APIs, they also provide a 'Raster XYZ PNGs URL' , and tiles requested through this endpoint consume 'Styled Raster Map Tiles' credits. This URL needs no extra configuration to integrate with flutter_map.

Retina tiles (high-DPI) tiles are available. Use the URLs containing '@2x' instead of '{r}'. The maximum zoom level that Stadia Maps supports is 20, so it is recommended to set maxNativeZoom or maxZoom as such.

Attribution is required, see docs.stadiamaps.com/#legal-details-required-attribution.

Consider using the RichAttributionWidget or SimpleAttributionWidgets, which meet the requirements.

Styles

Stadia Maps offers a variety of ready-made map styles that don't require customization. URLs are found with the style: see the available map styles. The URL should be used as above.

Vector Usage

Stadia Maps' also provides vector tiles. For more information about using vector tiles, please see Using Vector Tiles.

However, please note that this method of integration is still experimental. Many of the Stadia Maps styles utilize advanced features of the Mapbox GL JSON style language which are not yet well-supported.

Last updated

© flutter_map Authors & Maintainers