Skip to content

Commit 2cdcacf

Browse files
committed
Update README.md
1 parent 7d20e2c commit 2cdcacf

File tree

1 file changed

+18
-9
lines changed

1 file changed

+18
-9
lines changed

README.md

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22

33
This repository contains Flutter sample code demonstrating the capabilities of ArcGIS Maps SDK for Flutter and how to use them in your own app. This SDK enables development of cross-platform GIS apps for mobile devices running iOS and Android.
44

5-
## Configure to use the Beta release package of ArcGIS Maps SDK for Flutter
6-
- Visit [earlyadopter.esri.com](http://earlyadopter.esri.com/) and download the ArcGIS Maps SDK for Flutter package. Follow the instructions to unpackage
7-
- Clone or download this repository
8-
- Place the `arcgis_maps_package` directory next to your `arcgis-maps-sdk-flutter-samples` directory
5+
## Run the samples using the Beta package of ArcGIS Maps SDK for Flutter
6+
7+
Visit [earlyadopter.esri.com](http://earlyadopter.esri.com/) and download the ArcGIS Maps SDK for Flutter package. Follow the instructions to unpackage.
8+
9+
Clone or download this repository into the same parent directory as the `arcgis_maps_package`. Your file structure should be:
910

1011
```
1112
parent_directory
@@ -15,19 +16,19 @@ parent_directory
1516
|__ arcgis_maps_package
1617
```
1718

18-
- Use flutter pub upgrade to configure the dependencies
19+
Use `flutter pub upgrade` to configure the dependencies.
1920

2021
```
2122
flutter pub upgrade
2223
```
2324

24-
- Configure arcgis_maps_core
25+
Install arcgis_maps_core.
2526

2627
```
2728
dart run arcgis_maps install
2829
```
2930

30-
- Now you are ready to run the samples app!
31+
Now you are ready to run the samples app!
3132

3233
## Running the Samples app
3334

@@ -53,9 +54,9 @@ Individual samples can also be run on an iOS or Android simulator or device.
5354

5455
## Configuring API Keys
5556

56-
To fully take advantage of the samples in the app, you will need to generate an API Key.
57+
To take full advantage of the samples in the app, you will need to generate an API Key.
5758

58-
- Log into your developer account at the [ArcGIS Developers](https://developers.arcgis.com/)
59+
- Log into your developer account at [ArcGIS Developers](https://developers.arcgis.com/)
5960
- If you do not have an account, [create one](https://developers.arcgis.com/sign-up/)
6061
- Go to the "API keys" tab
6162
- Click the "New API Key" button and provide a Title and Description
@@ -73,6 +74,14 @@ or to run an individual sample:
7374
flutter run lib/src/samples/display_map.dart --dart-define-from-file=path/to/json/file.json
7475
```
7576

77+
The JSON file itself should be of the format:
78+
79+
```
80+
{
81+
"API_KEY": "your_api_key_here"
82+
}
83+
```
84+
7685
## Licensing
7786
Copyright 2024 Esri
7887

0 commit comments

Comments
 (0)