This is a minimal standalone version of the Google Maps Integration example on deck.gl website.
Note that this example demonstrates using deck.gl with Google Maps. For other base map options, visit the project templates in get-started.
To run this example, you need a Google Maps API key. You can either set an environment variable:
export GoogleMapsAPIKey=<google_maps_api_key>
Or set the GOOGLE_MAPS_API_KEY
variable in app.js
.
# install dependencies
npm install
# or
yarn
# bundle and serve the app with webpack
npm start
To build your own application with deck.gl and Google Maps, check out the documentation of @deck.gl/google-maps module