This topic is locked
[SOLVED]

 Google Maps

2/28/2012 4:04:41 PM
PHPRunner General questions
T
TKindermann author

Hello,
my phprunner project display the stored location (long/lat) on a google map like described in the tutorial.
Now: Is it possible to move the placemark on the map with the mouse and update the data (long/lat) in the record/database?
(So that the 'data flow' is from google map to my database :-)
kind regards
Thomas

Sergey Kornilov admin 2/28/2012

Thomas,
this is possible however you need to implement this sort of functionality manually.
Here is some sample code that can help:

http://stackoverflow.com/questions/4504636/google-maps-moving-marker-on-click
There also needs to be a custom PHP file that you can call via AJAX passing new coordinates of the marker to save them in the database.

T
TKindermann author 2/29/2012

Thanks for this tip.
I will have a look at this.
kind regards
Thomas