> document.getElementById("lat").value=markerD.getPoint().toUrlValue();.getPoint is obsolete, really. The .getLatLng method of a marker returns its position as a GLatLng object http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GMarker.getLatLng The .lat() method of a GLatLng will return the latitude value, as a number http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GLatLng.lat The javascript .toString() method will convert numbers to strings http://www.tutorialspoint.com/javascript/number_tostring.htm so document.getElementById("lat").value=markerD.getLatLng().lat().toString(); -- 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.
