Reputation: 59
I have a form where I receive the latitude,longitude values of a location.On submitting the form, I wish to create geofence in google maps of a static radius.I dont wish to draw the geofence using drawing tool directly.Can anyone suggest me a way as to how I can pass the values from the form to the map?
Upvotes: 2
Views: 13154
Reputation: 789
As geofencing is deprecated I think it's best to use the new API.
I've created a Liveweave example of how to achieve something along these lines here.
You'll have to obtain the latitude / longtitude values from the URL of page shown after submitting the form. A good way to achieve this is demonstrated here.
Upvotes: 3