Add a point to expand polygon without appending it in Google Maps?
问题 I'm building a polygon in Google Maps through markers that can be dragged to reshape it. So, when there are 3 markers, the polygon is drawn, and further markers are appended in the shape, expanding it. That's fine when the user just want to follow a simple clockwise/counterclockwise pattern, but when he wants to expand the polygon through one of its edges, instead it will append the marker, twisting itself. Here in this example, if we add markers 1, 2 and 3, it will be drawn a simple triangle