Hello all,
Unfortunately I have to show olwidget-managed maps to people using
Internet Explorer 8 :-) and I've found 3 problems.
The first, quite easy to fix, is that IE won't load olwidget.js
reporting an error on line 1054 char 9.
It seems it doesn't like a comma on the last line of "var context"
definition. Removing the comma allows IE to display the map.
This is the diff.
--- olwidget.js.orig 2011-01-26 18:48:42.638999309 +0400
+++ olwidget.js 2011-01-26 17:24:34.294083380 +0400
@@ -1050,7 +1050,7 @@
var context = {
"inputElem": input,
"layer": layer,
- "layerSwitcher": this,
+ "layerSwitcher": this
}
OpenLayers.Event.observe(input, "mouseup",
OpenLayers.Function.bindAsEventListener(this.onInputClick,
The second problem is with clusters visualization: IE shows no numbers
inside the placeholders, or better, it shows only a very small part of
the number's character, the other part is hidden.
A demo image of the problem is here:
http://www.digitalpha.it/images/clusters.png
. I'm using Microsoft VE, but OSM shows the same.
I have this problem in both my own map templates and in the admin
interface.
The third problem is that, only with MS VE maps, the browser reports
the following HTML parsing error:
--8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<--
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64;
Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR
3.0.30729; Media Center PC 6.0; HPNTDF)
Timestamp: Wed, 26 Jan 2011 21:46:29 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
URI:
http://127.0.0.1/teammap/43
--8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<--
This error is shown for maps in my templates and also in the GeoAdmin
for a view, for both osm and ve maps.
You can find the KB article here
http://support.microsoft.com/kb/927917/
This error does not seem to cause any additional problem, since the
map works and the error is only shown as a warning icon on the status
bar if it isn't hidden, I'm only reporting it because it could be
related to the previous one.
Ciao,
Roberto