Hello,, I'm using this function to show the coordinate of my
draggable-marker, like in this example
http://gmaps-samples-v3.googlecode.com/svn-history/r49/trunk/draggable-markers/draggable-markers.html
:

function updateMarkerPosition(latLng) {
  document.getElementById('info').innerHTML = [
    latLng.lat(),
    latLng.lng()
    ].join(', ');
}

In my body tag :

            Koordinat Lokasi<div id="info"></div>

It worked. The coordinate showed in the div 'info' each time the marker is
dragged. But how can I take the string lat and lng, so that I can post it to
my PHP script? I just no idea. No basic in the javascript. Just PHP.

Thanks anyway.

-- 
Regards,,,
mastanto
http://www.mastanto.com
http://thom-sharing.blogspot.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to