An example of flutter_map
using vector tiles provided by the vector_map_tiles
package.
- Get an API key from Stadia Maps, MapTiler or Mapbox
- Create a file
lib/api_key.dart
as follows:const stadiaMapsApiKey = '<your_stadiamaps_api_key>'; const maptilerApiKey = '<your_maptiler_api_key>'; const mapboxApiKey = '<your_mapbox_api_key>';
- Update
example/main.dart
to use the URL of the map provider that you selected and corresponding API key - Run the example app