'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
Stadia Maps is a popular tiered-payment (with free-tier) tile provider solution, especially for generic mapping applications. Setup with 'flutter_map' is relatively straightforward, but this page provides an example anyway.
Stadia Maps offers a variety of map styles out of the box, that don't require customization.
For normal usage with raster tiles, use the Raster URL for the style you like, then follow the #normal-raster instructions.
For more information about using the vector tiles, see #vector-usage.
You can find details on Stadia Maps' support for custom styles at the bottom of the map styles documentation.
You should remove the 'api_key' (found at the end of the URL) from the URL for readability. Instead, pass it to additionalOptions
.
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.
If you are interested in contributing to this, please join the Discord server.