Rossko thank you for helping me!

I looked links you gave me, and i tried it.

Instead:

GEvent.addListener(markerD, "drag", function(){
document.getElementById("lat").value=markerD.getPoint().toUrlValue();
document.getElementById("lon").value=markerD.getPoint().toUrlValue();

I wrote:

GEvent.addListener(markerD, "drag", function(){
document.getElementById("lat").value=markerD.getLatLng().lat().toString();
document.getElementById("lon").value=markerD.getLatLng().lon().toString();

Results:

Only Latitude input field show coordinate, but second Longitude input
field show nothing.

I tried so many thing but other input field doesn't work.


Thanks for helping me :)

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to