js-api-samples/samples/js-api-loader-map at main · googlemaps-samples/js-api-samples

Google Maps JavaScript Sample

The js-api-loader-map sample demonstrates how to load the Google Maps JavaScript API using the JS API Loader.

Follow these instructions to set up and run js-api-loader-map sample on your local computer.

Setup

Before starting run:

$npm i

Run an example on a local web server

First cd to the folder for the sample to run, then:

$npm start

Build an individual example

From samples/:

$npm run build --workspace=js-api-loader-map/

Build all of the examples.

From samples/: $npm run build-all

Feedback

For feedback related to this sample, please open a new issue on GitHub.