Open GoogleCodeExporter opened 8 years ago
[deleted comment]
e6 crashes are normally a result of DOM manipulation before the DOM exists. I'll
have a look at it. Thanks for reporting this issue.
Original comment by bbr...@gmail.com
on 17 Dec 2008 at 9:40
Sory misread Class name. GeometryControls aren't ExtLargeMapControls
Original comment by bbr...@gmail.com
on 17 Dec 2008 at 9:45
I have extra debug info from GLog:
09:51:05:140GeometryControls#getInfoWindowHtml says: looks like you provided an
invalid URL. The URL is
/GoogleMaps/geometrycontrols/data/geometry_html_template.html
The error is: [object Error] A time-out occurred during this operation.
Original comment by bas.r...@gmail.com
on 17 Dec 2008 at 4:43
Does that URL actually exist in your file system?
Original comment by pamela.fox
on 28 Dec 2008 at 12:06
yes its here in the examples folder
http://gmaps-utility-library-
dev.googlecode.com/svn/trunk/geometrycontrols/examples/data/
Original comment by chrism...@gmail.com
on 28 Dec 2008 at 1:09
The file exists, and is used by other browsers as it should. IE6 seems to
crash, but returns with that error in
tje GLog console after a while.
Original comment by bas.r...@gmail.com
on 28 Dec 2008 at 3:07
Any more comments on this? The error keeps occuring in IE6. Is this project on
hold?
In addition, an error is occuring in
'MarkerControl.prototype.assembleInfoWindowHtml', when
'geometry_style_link_params'
is trying to be accessed. It is null or not an object according to IE6.
Thanks, Bas
Original comment by bas.r...@gmail.com
on 29 Jan 2009 at 3:18
After some more debugging I found the cause. And the solution.
Cause: GXmlHttp.create() seems not to work in IE6, at least not in this context.
Solution: custom getXMLHttpRequest function.
GeometryControls.prototype.getXMLHttpRequest = function () {
if (window.XMLHttpRequest) {
return new XMLHttpRequest()
}
else {
if (window.ActiveXObject) {
return new ActiveXObject("Microsoft.XMLHTTP");
}
}
}
Original comment by bas.r...@gmail.com
on 3 Feb 2009 at 1:06
thanks for finding this, i will incorporate your fix!
Original comment by chrism...@gmail.com
on 4 Feb 2009 at 12:43
Original issue reported on code.google.com by
bas.r...@gmail.com
on 17 Dec 2008 at 8:47