http://code.google.com/intl/tr-TR/apis/maps/articles/phpsqlajax.html#createmap
im using the tutorial linked above
in tutorial they explain how to add markers with php &mysql
but i need to get latitude and longtitude by moving markers??
im a javascript beginner. how can i do it easily?
All you need are the
.getPosition()method of the marker and the.addListenermethod ofgoogle.maps.event. So all you need to do is listen for thedragendevent of the marker and then pull out theLatLonglocation of the event. That will give you the newLatLongof the marker, which you can then send back to your PHP script if desired.