I'm working on a web application and I need some help. What I need is a form with two fields, one field for the users current "location" and a second field will be for the users to enter their desired "destination". Next to the form, I want to have a google map. Once the user fills in the fields and submits the form, the google map will update and show markers of the users location and destination. I will also need the "miles" between the location and destination to be returned, so that I can do a calculations with it later in PHP.
Here is an example of what I want:
[url removed, login to view]
Here is another example & the link to the tutorial for it:
[url removed, login to view] <<< example
[url removed, login to view] <<< tutorial
I could probably use the code from the second example, but it violates Google Maps terms of service which states that Google Maps applications must display an actual map
If any one has any further questions regarding my requirements, then please let me know.
19 freelancers are bidding on average $158 for this job
We have done a program to generate Photos on googlemap by the GPS info. We could change it for your requirement. Pls check the demo googlemap from PMB