diff --git a/dist/samples/map-drawing-terradraw/app/.eslintsrc.json b/dist/samples/map-drawing-terradraw/app/.eslintsrc.json new file mode 100644 index 00000000..4c44dab0 --- /dev/null +++ b/dist/samples/map-drawing-terradraw/app/.eslintsrc.json @@ -0,0 +1,13 @@ +{ + "extends": [ + "plugin:@typescript-eslint/recommended" + ], + "parser": "@typescript-eslint/parser", + "rules": { + "@typescript-eslint/ban-ts-comment": 0, + "@typescript-eslint/no-this-alias": 1, + "@typescript-eslint/no-empty-function": 1, + "@typescript-eslint/explicit-module-boundary-types": 1, + "@typescript-eslint/no-unused-vars": 1 + } +} diff --git a/dist/samples/map-drawing-terradraw/app/README.md b/dist/samples/map-drawing-terradraw/app/README.md new file mode 100644 index 00000000..8626a48b --- /dev/null +++ b/dist/samples/map-drawing-terradraw/app/README.md @@ -0,0 +1,40 @@ +# 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. + + + + +# 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](https://github.com/googlemaps-samples/js-api-samples/issues). + diff --git a/dist/samples/map-drawing-terradraw/app/index.html b/dist/samples/map-drawing-terradraw/app/index.html new file mode 100644 index 00000000..48c18039 --- /dev/null +++ b/dist/samples/map-drawing-terradraw/app/index.html @@ -0,0 +1,41 @@ + + + + +
+