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: examples/get-started/pure-js/google-maps/README.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,13 +9,14 @@ with [webpack-dev-server](https://webpack.js.org/guides/development/#webpack-dev
9
9
10
10
## Usage
11
11
12
-
To run this example, you need a [Google Maps API key](https://developers.google.com/maps/documentation/javascript/get-api-key). You can either set an environment variable:
12
+
To run this example, you need a [Google Maps API key](https://developers.google.com/maps/documentation/javascript/get-api-key) and a [map id](https://developers.google.com/maps/documentation/javascript/webgl#vector-id). You can either set an environment variable:
13
13
14
14
```bash
15
15
export GoogleMapsAPIKey=<google_maps_api_key>
16
+
export GoogleMapsMapId=<google_maps_map_id>
16
17
```
17
18
18
-
Or set the `GOOGLE_MAPS_API_KEY`variable in `app.js`.
19
+
Or set the `GOOGLE_MAPS_API_KEY`and `GOOGLE_MAP_ID` variables in `app.js`.
0 commit comments