You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-9Lines changed: 11 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ This repository contains Flutter sample code demonstrating the capabilities of A
4
4
5
5
## Run the samples using the Beta package of ArcGIS Maps SDK for Flutter
6
6
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.
8
8
9
9
Clone or download this repository into the same parent directory as the `arcgis_maps_package`. Your file structure should be:
10
10
@@ -68,24 +68,26 @@ To take full advantage of the samples in the app, you will need to generate an A
68
68
- Click the "New API Key" button and provide a Title and Description
69
69
- Set Location Service scopes to add or remove key capabilities
70
70
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:
72
74
73
75
```
74
-
flutter run --dart-define-from-file=path/to/json/file.json
76
+
{
77
+
"API_KEY": "your_api_key_here"
78
+
}
75
79
```
76
80
77
-
or to run an individual sample:
81
+
To run using the JSON file to define your API key:
78
82
79
83
```
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
81
85
```
82
86
83
-
The JSON file itself should be of the format:
87
+
Or to run an individual sample:
84
88
85
89
```
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
0 commit comments