> with:http://masgis.asu.edu/fourwiseguysbiking/index9.html
Your protection in your retrieveMarkers() for null lat/longs isn't
entirely sucessful. Some markers in your XML have 0,0 values (which
pass the test as "0.000" because that's a valid string and so 'true')
- these will get plotted off the coast of Africa.
However, the main problem is in your createMarker() code.
It gets passed a ready-made GLatLng but then does -
var point = new GMarker(latlng);
var marker = new GMarker(point, icons[category]);
perhaps you meant just
var marker = new GMarker(latlng, icons[category]);
cheers, Ross K.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---