RV: [OpenLayers-Users] Openlayers & IE6 performanceproblem/error

David Alda Fernandez de Lezea dalda at ikt.es
Thu Feb 24 02:22:56 EST 2011


Ingo,

Sorry for my late response, I've been doing some other stuff. We finally decided to avoid the problem by removing the usage of OpenLayers.Layer.WMS.Post, so there's no working example no longer. If you still want to explore the problem I can repair it, so it can work. 

Regards.
 
 
Un saludo,
 
··················································································

David Alda Fernández de Lezea
Lurralde eta Biodibertsitate Saila / Dpto. de Territorio y Biodiversidad
 
IKT
Granja Modelo s/n · 01192 · Arkaute (Araba)

··················································································
Tlfnos.: 945-00-32-95                         Fax: 945-00.32.90
··················································································
email: dalda at ikt.es                                web: www.ikt.es
··················································································

-----Mensaje original-----
De: Ingo Weinzierl [mailto:ingo.weinzierl at intevation.de] 
Enviado el: lunes, 21 de febrero de 2011 19:20
Para: David Alda Fernandez de Lezea
CC: openlayers-users at lists.osgeo.org
Asunto: Re: RV: [OpenLayers-Users] Openlayers & IE6 performanceproblem/error

Hi David,

I have just tried to open the demo you've provided. But there is just a blank screen without any content. Firebug tells me, that there are resources placed at 192.168.3.14 which can't work for me
;-) Can you repair the example, so that I can watch the problem on your site? This would be nice for me before I start searching for the problem.

Regards, Ingo

On Wed, Feb 16, 2011 at 12:47:03PM +0100, David Alda Fernandez de Lezea wrote:
>  
> Hi again, after doing some tests I can confirm that this happens also in IE7 and IE8. Any ideas/suggestions will much appreciated.
> 
> ________________________________
> 
> De: openlayers-users-bounces at lists.osgeo.org 
> [mailto:openlayers-users-bounces at lists.osgeo.org] En nombre de David 
> Alda Fernandez de Lezea Enviado el: martes, 15 de febrero de 2011 
> 13:09
> Para: openlayers-users at lists.osgeo.org
> Asunto: [OpenLayers-Users] Openlayers & IE6 performance problem/error
> 
> 
> 
> Hi there,
> 
> We've finally achieved publishing our OpenLayers based GIS web application for our customers with GeoServer in the back-end. Everything works fine, well, almost .We've noticed that there is a worrying issue that affects navigation through the map when a SLD is applied to a WMS layer. This issue appears when the user opens the web application with IE6 and drags the map quickly. It seems that IE goes crazy, and shows the typical generic error message of javascript. If you click on yes button it shows the Just In time debugger and the execution stops in the folowing line:
> 
>  
> 
> For adding this layers on the fly I use this piece of code:
> 
> addWMSLayer: function(layerName,labelName,owsUrl, imageFormat){
>                 //HACK IE
>                 if (this._BROWSER_NAME == "Explorer"){
>                         var layer = new OpenLayers.Layer.WMS.Post( labelName,owsUrl,{layers: layerName, format: imageFormat, transparent: 'true'},{maxExtent: new OpenLayers.Bounds(460000, 4690000, 610000, 4820000),'buffer': 0, visibility: true,isBaseLayer: false, units: 'm', reproject: false, opacity: 0.8} );
>                         layer.transitionEffect = 'resize';
>                         this.map.addLayers([layer]);
>                 }else{
>                         var layer = new OpenLayers.Layer.WMS( labelName,owsUrl,{layers: layerName, format: imageFormat, transparent: 'true'},{maxExtent: new OpenLayers.Bounds(460000, 4690000, 610000, 4820000), 'buffer': 0, visibility: true,isBaseLayer: false, units: 'm', reproject: false, opacity: 0.8} );
>                         layer.transitionEffect = 'resize';
>                         this.map.addLayers([layer])
>                 }
>                
>         }
> 
> 
> Then I apply some SLD's generated on the fly with the following code
> 
> applyStyleToLayer: function(layerName,estilo){
>                 if (estilo.SLD)
>                         this.map.getLayersByName(layerName)[0].mergeNewParams({SLD: estilo.SLD});
>                 else if (estilo.SLD_BODY)
>                         this.map.getLayersByName(layerName)[0].mergeNewParams({SLD_BODY: estilo.SLD_BODY});
>                 else if(estilo.STYLES)
>                         
> this.map.getLayersByName(layerName)[0].mergeNewParams({STYLES: 
> estilo.STYLES}); }
> 
> You can test the behaviour through this URL:
> 
> http://www.iktlan.net/mapa/generaMapa.asp?sesion=AAD1058_19&ambito=MUN
> I
> 
> I'm using OpenLayers version 2.9.1.
> 
>  
> Thanks in advance.
> 
> 
> 
> 
> Un saludo,
> 
> ······································································
> ············
> 
> David Alda Fernández de Lezea
> Lurralde eta Biodibertsitate Saila / Dpto. de Territorio y 
> Biodiversidad
> 
> IKT
> Granja Modelo s/n · 01192 · Arkaute (Araba)
> 
> ··················································································
> Tlfnos.: 945-00-32-95                         Fax: 945-00.32.90
> ··················································································
> email: dalda at ikt.es                                web: www.ikt.es
> ······································································
> ············
> 
> 



Content-Description: ATT196656074.txt
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users

> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users


--
Ingo Weinzierl | ++49-541-335083-0 | OpenPGP key: 0x2D2E2573 Intevation GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B 18998
Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner


More information about the Users mailing list