Google Maps Draw Polygon Save In Database. Read the documentation to learn more about the basics of creating a Google map. A layer can have 2000 lines shapes or places.
First let the user draw a polygon on a Google Map and get hisher polygons coordinates and save them into a database. The following shapes are available. I have a Google map with drawing manager enabled where a user can draw a polygon and save it to my db.
The following shapes are available.
When the event is fired the coordinates of the polygon are written to a hidden field. As you know we can draw various shapes to. Adding Controls to the Map. It also allows for deep interaction with those UI items as well.