Skip to content

Commit cc522e1

Browse files
committed
Update README.md
1 parent e34b2cf commit cc522e1

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

README.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This repository contains Flutter sample code demonstrating the capabilities of A
44

55
## Run the samples using the Beta package of ArcGIS Maps SDK for Flutter
66

7-
Visit [earlyadopter.esri.com](http://earlyadopter.esri.com/) and download the ArcGIS Maps SDK for Flutter package. Follow the instructions to unpackage.
7+
Visit [earlyadopter.esri.com](https://earlyadopter.esri.com/) and download the ArcGIS Maps SDK for Flutter package. Follow the instructions to unpack it.
88

99
Clone or download this repository into the same parent directory as the `arcgis_maps_package`. Your file structure should be:
1010

@@ -68,24 +68,26 @@ To take full advantage of the samples in the app, you will need to generate an A
6868
- Click the "New API Key" button and provide a Title and Description
6969
- Set Location Service scopes to add or remove key capabilities
7070

71-
Add the new API Key directly to [main.dart](lib/main.dart) or create an environment JSON file that can be loaded with the `--dart-define-from-file` `flutter run` command line argument.
71+
Add the new API Key directly to [main.dart](lib/main.dart) or create an environment JSON file that can be loaded with the `--dart-define-from-file` `flutter run` command line argument.
72+
73+
The JSON file itself should be of the format:
7274

7375
```
74-
flutter run --dart-define-from-file=path/to/json/file.json
76+
{
77+
"API_KEY": "your_api_key_here"
78+
}
7579
```
7680

77-
or to run an individual sample:
81+
To run using the JSON file to define your API key:
7882

7983
```
80-
flutter run lib/src/samples/display_map.dart --dart-define-from-file=path/to/json/file.json
84+
flutter run --dart-define-from-file=path/to/json/file.json
8185
```
8286

83-
The JSON file itself should be of the format:
87+
Or to run an individual sample:
8488

8589
```
86-
{
87-
"API_KEY": "your_api_key_here"
88-
}
90+
flutter run lib/src/samples/display_map.dart --dart-define-from-file=path/to/json/file.json
8991
```
9092

9193
## Licensing

0 commit comments

Comments
 (0)