On Sep 27, 1:05 pm, racinnation <[EMAIL PROTECTED]> wrote:
on http://www.racinnation.com/sandbox/app/map.php you're using
parseInt() to read the lat and lon, so the values get rounded to
integers.
You need to useparseFloat() instead.
Change these two lines:
var lat = parseInt(GXml.value(markers[i].getElementsByTagName("lat")
[0]));
var lng = parseInt(GXml.value(markers[i].getElementsByTagName("lng")
[0]));
to
var lat = parseFloat(GXml.value(markers[i].getElementsByTagName("lat")
[0]));
var lng = parseFloat(GXml.value(markers[i].getElementsByTagName("lng")
[0]));
--
Marcelo - http://maps.forum.nu
--
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---