I found the solution ! in my spotkmlparser.js at line 136, there is a call to the toSource() JS method, which seems to be not supported by IE. duh !
problem solved by installing Visual Studio .net express web developer Guilhem On Apr 1, 10:45 am, GuilhemFR <[email protected]> wrote: > Hi Ross > > Thanks for the tip. I have removed the "www." prefix from the KML URLs > array. That may solve your exception. But this does not solve the IE > issue. > > Regarding FF2 compatibility and graceful handling of the absence of GE > plugin, I'll add that to my TO DO list. However, the fact that the GE > plugin is not installed should not prevent the parsing of KML and > javascript code execution for the geographic calculations... > > Conclusion: I'm still stuck, and would love to get further help > > Cheers > > Guilhem > > If you have > > On Mar 31, 10:42 pm, Rossko <[email protected]> wrote: > > > > The source for the Javascript is found > > > at:http://hobieracingschool.fr/joomla/francesco/francesco_transat_map.html > > > and it uses two JS libraries in the same folder: spotkmlparser.js and > > > geocalc.js > > > I don't get a map in FF2, maybe because I don't have the GE plugin. > > Perhaps your webpage could handle that gracefully? > > > I get a javascript error - > > uncaught exception: Permission denied to call method > > XMLHttpRequest.open > > originating in this line > > GDownloadUrl(KML[0], spotkmlparse); > > where KML[0] is > > http://www.hobieracingschool.fr/joomla/francesco/spot_messages.kml > > > Is that a cross-domain error because the calling page > > ishttp://hobieracingschool.... > > nothttp://www.hobieracingschool.... > > > cheers, Ross K > > Line 0 > > > > My page/application works great in Firefox 3.0.8 on WinXP, but on IE 7 > > > I get the following error: > > > > "Line: 137 > > > Char: 5 > > > Error: Object doesn't support this property or method > > > Code: 0 > > > URL:http://hobieracingschool.fr/joomla/francesco/francesco_transat_map.html" > > > > The GE plugin then displays OK but normally some stats are displayed > > > at the bottom of the Google Earth view, and they don't on IE... > > > > Also if you try the second "Zoom" radio button (labelled "Derniere > > > Position" - sorry the UI is in french), then the GE plugin takes me to > > > the Lng=0,Lat=0; whereas it is supposed to create a LookAt at the last > > > point in the global points array created by parsing the KML file. > > > > This makes me think that something is wrong in my KML parsing and > > > inner HTML creation code, but I don't figure it out ... but it might > > > as well be some other IE oddity that I don't know about > > > > Does someone have any clue ? If Mike Williams is reading this: I would > > > love to hear your opinion > > > > Thanks in advance > > > > Guilhem --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
