Thanks, you are right.

Hareck

-----Ursprüngliche Nachricht----- From: Ivan Grcic
Sent: Friday, March 18, 2011 12:10 PM
To: har.eck
Cc: [email protected]
Subject: Re: [OpenLayers-Users] Custom Build of OL and IE8

Hi,

i would try my luck with Renderer/VML.js :)

Tschuss,
Ivan

On Fri, Mar 18, 2011 at 12:00 PM, har.eck <[email protected]> wrote:


Hi all,

I build my own openlayers.js. It works fine with browser ff, chrome, opera
and safari but not with IE8.

I get these messages from IE8:

"Your browser does not support vector rendering. Currently supported
renderers are: SVG, VML, Canvas”

Message: 'this.renderer.root' is null or no object

line: 1064 character: 341  code: 0



The line is this:

if(!this.drawn||zoomChanged||!coordSysUnchanged){this.drawn=true;var
feature;for(var
i=0,len=this.features.length;i<len;i++){this.renderer.locked=(i!==(len-1));feature=this.features[i];this.drawFeature(feature);}}},display:function(display){OpenLayers.Layer.prototype.display.apply(this,arguments);var
currentDisplay=this.div.style.display;if(currentDisplay!=this.renderer.root.style.display){this.renderer.root.style.display=currentDisplay;}},addFeatures:function(features,options){if(!(features
instanceof Array)){features=[features];}



It is the display method of Vector.js where ‘this.renderer.root’ is null or
no object.



But what is missing in my build for the IE8?

The full version of openlayers.js is working with IE8 !



Best regards



Hareck





_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users





--
-------------------------------------------------------
Ivan Grcic
GeoSolutions S.A.S.
Software Engineer


Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:   +39 328 0559267


http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://twitter.com/geosolutions_it
http://www.youtube.com/user/GeoSolutionsIT


-------------------------------------------------------
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to