Bug in your head! :-)

I zoom in 6 times and the line is still there, both with FF2 and IE6.
Try clearing your cache.

However, you do have the potential for trouble because:
1. You're passing strings to GLatLng(). (use parseFloat())
2. You're not using aproperly indexed array. On the line
 points[ndx] = new GLatLng(item.lat, item.lng);
ndx is a string. Try checking the value of
GLog.write(points.length)
after adding all the points.

A better way to do it would be
points.push(new GLatLng(parseFloat(item.lat), parseFloat(item.lng));

3. Some lat/lon values in the beginning of the file are '0' (zero).
4. Some lat/lon values have quotes some don't.

Finally, some good recommended reading:
http://www.catb.org/%7Eesr/faqs/smart-questions.html#id306810
:-)

--
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to