How to create a geo fence and save the area from google map
User would be able to draw the geo fence on the google map the shape could be circle or rectangle and that area needs to be saved, which needs to be used to display ads when the user is in the defined geo fence.
Pls let me know how this can be done in php using google maps.
Set an event listener for the
polygoncomplete event. When that fires, user
getPath() to pull out the path and send it to your server.