Draw and edit polygon in Google Map with the import / export functionality
View
Edit
Coordinates
input/coordinates.jsoncontains the coordinates that will be rendered. It must follow the format specified in theinput/coordinates.json.templatefile.env.jsoncontains the Google API Key that is required to show the map (Google doesn't allow anymore to use the API without a key)
-
Install dev dependencies:
yarn install -
Create necessary
.env.jsonfile:
yarn env(oryarn env-winif you are on windows) -
Add your Google Maps API Key to
.env.json:
(https://developers.google.com/maps/documentation/javascript/get-api-key) -
Create sample
coordinates.jsonfile:
yarn sample(oryarn sample-winif you are on windows)
or
Upload thecoordinates.jsonfile during runtime -
Browse/view index.html via some http(s) server
(e.g.yarn install http-server && http-server)


