Example project loading ArcGIS vector basemaps using Fluttler
This is a sample app showing how to load ArcGIS vector basemaps using a free ArcGIS Platform account and Leaflet.js using flutter-vector-map-tiles
Place a api_key.dart
file within lib/src with the following content (replacing the API key)
// Create a free account: https://developers.arcgis.com/sign-up
// Grab the API from: https://developers.arcgis.com/api-keys/
final apiKey = '<your_API_KEY>';
This project has to Widgets:
lib/src/leafletvector_screen.dart
: this one load a static map style from lib/src/navigation_style.dart
lib/src/leafletvectorasync_screen.dart
which allows to set all map styles supported by ArcGIS using the values defined at lib/src/arcgis_map_styles.dart
.There are some limitations that needs to be overcome. Those are listed in the project issues.