Re: Why won't IE show my markers?
This line of your xml is causing the error in the API:
<marker lat="" lng="" html="<img
src='http://www.kitebeaches.com/kitebeaches/pics/thumbs/0_1525_1106764175.jpg'>
<br><a
href='http://www.kitebeaches.com/kitebeaches/viewspot.php?id=830'>Opal
Beach </a>" label="830" />
The parseFloat()
var lat = parseFloat(markers[i].getAttribute("lat"));
returns NaN. The GPoint created from GPoint(NaN, NaN) is bad and the
API code stops processing the markers. I'm not sure why I don't get an
error in Opera or Firefox, but this only seems to cause a problem in
IE. The page below (with a test to avoid processing these points)
works:
http://www.geocodezip.com/kitebeaches_testmapA.asp
You have 2 "invalid" points out of the 620 in the xml file. (620
markers is a lot to display, you may want to want to use Jeff's
clusterer or a database to reduce the number displayed on the map)
-- Larry
0 Comments:
Yorum Gönder
<< Home