A cross platform mobile app for iOS and Android that shows the largest coffee producing countries in the world, built with the ArcGIS Maps SDK for Flutter beta.
You can read more about this app and how it was built in the Mapping where coffee comes from with the Flutter Maps SDK beta blog post on ArcGIS Blog.
The app can be run on an iOS or Android simulator or device.
- Visit Esri's Early Adopter site to download the ArcGIS Maps SDK for Flutter package. Follow the instructions to unpack it.
- You will also need an API Key access token to run this app.
- Follow the Create an API Key tutorial and copy your generated API Key.
- Add the new API key directly to
main.dart(not recommended for production use) or create an environment JSON file that can be loaded withflutter run --dart-define-from-file=path/to/json/file.json - The JSON file should be of format:
{ "API_KEY": "your_api_key_here"}
- Clone or download this repository to the same directory as the arcgis_maps_package
- Open the project in VSCode
- Use
flutter pub upgradeto configure the dependencies - Use
dart run arcgis_maps installto install the package - Ensure a simulator is running or a device is connected to your development machine
- Run or debug the app to launch it
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
This app was built using country polygons in GeoJSON format sourced from https://datahub.io/core/geo-countries and modified in ArcGIS Pro to include coffee producing data, averaged from a range of internet data sources.
