I feel that I'm very close to successfully leveraging GeoXML script
with the structure that I'm forced to use (i.e. google.load with
callback)...but still getting errors.
I've tried several things, and I think I've got a solution that works
the best in both IE8 and Firefox. The kml is displaying properly on
IE8, but its still throwing some errors, which I'd like to solve but
haven't been able to do it. When using IE developer tools, the error
references the geoxml.js line 13..."{var c=this.map.getObjCenter
()"...and in the callstack it says JScript anonymous function. When I
continue the script it throws errors associated with what I think is
the messagebox function again. I'm confused and feel its almost done
but not quite.
In general, my goal was to use google.load before loading the
javascript files because they need the API loaded to load themselves.
Then, I use google.load towards the end of the page to load the
initMap function.
Also, only very occasionally, I receive this error:
"Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/
4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR
3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR
3.5.30729)
Timestamp: Tue, 16 Jun 2009 14:35:03 UTC
Message: HTML Parsing Error: Unable to modify the parent container
element before the child element is closed (KB927917)
Line: 0
Char: 0
Code: 0"
This HTML Parsing error usually occurs upon first load of the
page...subsequent loads throw the .js error...and even on a rare
occasion there is "operation aborted" error.
Here's the url: http://www.wrh.noaa.gov/zoa/kml/polygon_test3.php"
Finally, I tried to append the scripts in some initial fix attempts,
but it seems like the browser wouldn't finish loading the geoxml.js
before having to create the map, and it was throwing errors.
Firefox is fine with current code...working nicely there.
Do you have any ideas? Thanks so much for your time!
Shad
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---