[OpenLayers-Users] IE8 error in VML.js

Andreas Hocevar ahocevar at opengeo.org
Mon Feb 15 02:31:23 EST 2010


On 2010-02-14 12:50, Herman Badenhorst wrote:
> Hi all.
>
> My map works fine in mozilla firefox 3.5.7, but with IE8 am am getting
> the following error.
>
> Message: Unspecified error.
> Line: 85
> Char: 9
> Code: 0
> URI:
> http://cdewocat.unibe.ch/wocatQM_2/mapfish/client/mfbase/openlayers/lib/OpenLayers/Renderer/VML.js

You are creating your map too early. Execute your createMap method in a
document.onload handler (instead of Ext.onReady), and things will be fine.

Regards,
Andreas.

>
> I have even tried the compatibility mode below but with no luck:
> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/>
>
> Below is the link to the map:
> http://cdewocat.unibe.ch/wocatQM_2/MapViewerSelectMappingUnit.php?CountryCode=RSA&CountryName=SouthAfrica&BaseMap=2009
> <http://cdewocat.unibe.ch/wocatQM_2/MapViewerSelectMappingUnit.php?CountryCode=RSA&CountryName=SouthAfrica&BaseMap=2009>
>
> Please advice
>
> Regards,
> Herman
>
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>   


-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.




More information about the Users mailing list