[OpenLayers-Dev] Re: Problems with the display in IE

Xavier Mamano (jorix) xavier.mamano at gmail.com
Tue Nov 29 11:01:14 EST 2011


Hi Giuseppe,

Using compatible mode in IE9 also has failed me, but his example is very
large. You can prepare a small code that fails?. Please use the debug code
"/lib/OpenLayers.js" as Phil mentioned.

On the other hand you may be interested in seeing what I'm working:
https://github.com/jorix/OL-FeaturePopups

NOTE: I suggest you create the map without controls as:
------
var option = {
controls: [],
...
};
map = new OpenLayers.Map('map', option);
----
this will prevent overlapping "PanZoom" by "PanZoomBar".

Xavier Mamano


Giuseppe Lo Burgio wrote
> 
> Hi there,
> 
> I'm Giuseppe and I'm doing a project using OpenLayers.
> 
>  
> 
> But I encountered a problem: works fine with IE9 but not work with IE8.
> 
>  
> 
> This is link to my project:
> 
>  <http://www.ibasblog.it/confimap> http://www.ibasblog.it/confimap
> (/index.html)  work fine with FF, IE9.
> 
>  
> 
> With IE8 loads slowly, the pan does not work and you can not interact with
> the points of the map.
> 
>  
> 
> This result from debbugging tool of IE9 with IE8 compatibility mode:
> 
>  
> 
> {{{
> 
> SCRIPT1014: Carattere non valido
> 
> OpenLayers.js, Riga 290 Carattere 754
> 
> SCRIPT1014: Carattere non valido
> 
> OpenLayers.js, Riga 290 Carattere 754
> 
> SCRIPT5007: Impossibile ottenere il valore della proprietà
> 
> 'selectedFeatures': oggetto nullo o non definito  OpenLayers.js, Riga 1437
> Carattere 210
> 
> SCRIPT5007: Impossibile ottenere il valore della proprietà
> 
> 'getFeatureFromEvent': oggetto nullo o non definito  OpenLayers.js, Riga
> 1430 Carattere 406
> 
> SCRIPT5007: Impossibile ottenere il valore della proprietà
> 
> 'getFeatureFromEvent': oggetto nullo o non definito  OpenLayers.js, Riga
> 1430 Carattere 406
> 
> SCRIPT5007: Impossibile ottenere il valore della proprietà
> 
> 'getFeatureFromEvent': oggetto nullo o non definito  OpenLayers.js, Riga
> 1430 Carattere 406  }}}
> 
>  
> 
> I use file format GeoJSON.
> 
> Can you help?
> 
>  
> 
> Thanks a lot.
> 
> Best Regards,
> 
> Giuseppe
> 
> 
> _______________________________________________
> Dev mailing list
> Dev at .osgeo
> http://lists.osgeo.org/mailman/listinfo/openlayers-dev
> 


--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Problems-with-the-display-in-IE-tp7040588p7043385.html
Sent from the OpenLayers Dev mailing list archive at Nabble.com.


More information about the Dev mailing list