Sohel Khan A
Sohel Khan A

Reputation: 59

Create Geofence using Latitude,Longitude values

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

Answers (1)

khriskooper
khriskooper

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

Related Questions