> A few weeks ago I put together this little map > applicationhttp://xfsd.ansorg-web.de/fsdmap/(it shows position of pilots > connected to a server, not always people there)
I left it ticking over in FF2, there were 4 'pilots'. Eventually Firebug flagged an error in javascript, the API complaining about Nan - not a number. Backtracking in Firebug shows your parseData() was working on this XML - (snippet) <?xml version="1.0" encoding="UTF-8"?>\n <!DOCTYPE clients SYSTEM "clients.dtd">\n <clients timestamp="1238370545"><client type="P" cs="LUCA13" name="Luca Ganz LIML" rating="11" \r\n cid="XP12" acf="" from="" to="" \r\n route="" lat="" lng="" alt="" gs=""></client><client type="P" cs="DPNY" name="Don Pickett KLGA" rating="11" \r\n cid="XP57" acf="1/B1/H-S/C" from="PM01" to="PHNL" \r\n route="STINS +38.982 -122.111 MXW11 +40.099 -122.236 ...... I'd say your php has served up some null parameters for pilot LUCA13. If you can't figure out why, you might need to beef up your parseData() to deal with this. The map API won't like being fed empty data, the rspose will vary across browsers, and may well vary between API releases. I haven't looked at your code in great detail, but I think it adds a new 'track' polyline everytime it updates. You might want to consider removing the old one to prevent ever increasing resource consumption. 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 -~----------~----~----~----~------~----~------~--~---
