On 28 January 2011 09:05, VolksNav <[email protected]> wrote: > > - var clickedLocation = new google.maps.LatLng(location);
In your code, "location" is *already* a LatLng object. You don't need to create another one (and in fact you can't create one from another one like that). > - var clickedLat = clickedLocation.lat(); > or > - var clickedLat = parseFloat(clickedLocation.lat()); > > the return is NaN. What is to do within V3? var clickedLat = location.lat(); -- 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.
