Skip to content

Latest commit

 

History

History
40 lines (22 loc) · 975 Bytes

File metadata and controls

40 lines (22 loc) · 975 Bytes

Basic Terra Draw with Google Maps API Sample

This sample demonstrates a basic implementation of Terra Draw with the Google Maps JavaScript API. It includes various drawing modes such as Point, LineString, Polygon, Rectangle, Circle, and Freehand.

Roadmap View Satellite View

Google Maps JavaScript Sample

This sample is generated from @googlemaps/js-samples located at https://github.com/googlemaps-samples/js-api-samples.

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=sample-name/

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.