I have tried to draw Polygon using Drawing Manager and send the Polygon Coordinates to PHP script(to store in Database).
1)i have coded editable option as ‘true’ for polygon. But i am not to
edit the polygon.I am not to find what i did wrong?2)Also i try to get
Polygon paths using getPaths method..it is returned as array..How do i
check this coordinates are correct. If i put in alert in displays as
‘Object[] Object’.Please help me to solve these problems.
You need to set the drawing mode to true (to enable map interactions). the following code will do the trick 🙂
with regards to the 2nd part im currently working on that now. use console.log instead of alert.