How To Get The Newly Edited Polygon Coordinates In Google Map Apiv3
i have created and edited polygon successfully and after drawing the polygon i am getting the coordinates of the polygon, what i am looking for is after editing the polygon i am no
Solution 1:
Observe the events set_at
, insert_at
and remove_at
of the polygon-path:
google.maps.event.addListener(myPoly.getPath(), 'set_at', markerCoords);
google.maps.event.addListener(myPoly.getPath(), 'insert_at',markerCoords);
google.maps.event.addListener(myPoly.getPath(), 'remove_at',markerCoords);
Post a Comment for "How To Get The Newly Edited Polygon Coordinates In Google Map Apiv3"