tomchentw / react-google-maps

React.js Google Maps integration component
https://tomchentw.github.io/react-google-maps/
MIT License
4.62k stars 939 forks source link

How to let the polygon be editable without creating new points? #957

Open stacheski opened 5 years ago

stacheski commented 5 years ago

I am trying to let a polygon editable with only 4 points, and i need to hide the other points that it creates to do not let new points to be created.

image

In the picture, the 4 points in the middle of the lines, i need to hide then.