[Users] Legend Panel and Internet Explorer

Bart van den Eijnden bartvde at osgis.nl
Mon Jun 7 21:44:53 CEST 2010


Michael,

are you able to try with GeoExt 0.7? A few legend panel issues were fixed between 0.6 and 0.7.

If this problem still persists in 0.7, please post a minimal example which I can quickly run in the browser, not some code snippets only. Thanks.

Best regards,
Bart

On Jun 7, 2010, at 9:14 PM, Michael Tafel wrote:

> HI Bart,
>  
> I am using GeoExt v 0.6, testing on IE 8
>  
>  
> Here is the code where I add the components to the viewport. I need to do the additional steps at the end because the mappanel is utilizing Geowebcache.
>  
>                 new Ext.Viewport({
>         layout: "border",
>         items: [{
>             region: "center",
>             id: "mappanel",
>             title: "Housing Units Growth",
>             xtype: "gx_mappanel",
>             map: map,
>             layers: [hu],
>             extent: extent,
>             split: true
>         },
>                 {
>                                 region:"west",
>                                 id: "legendpanel",
>                                 width: 250,
>                                 xtype: "gx_legendpanel",
>                                 map: map,
>                                 layers: [hu],
>                                 html: "<br> </br><p>Click on any census tract for housing unit estimations for each year between 2000 and 2008</p><br></br><p>"
>                 }]
>     });
>  
>        var mapPanel = Ext.getCmp('mappanel');
>        legendPanel = Ext.getCmp('legendpanel');
>                
>                 layerRec0 = mapPanel.layers.getAt(0);
>                 layerRec0.set("legendURL", "http://gis.drcog.org/geoserver/wms?FORMAT=image/gif&TRANSPARENT=true&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&l&LAYER=DRCOG:hu_by_tracts&EXCEPTIONS=application%2Fvnd.ogc.se_xm");
> </script>
>  
>  
>  
>  
> Michael Tafel - GIS Specialist
> 303.480.6797 - Customer Resource and Support
>  
> From: users-bounces at geoext.org [mailto:users-bounces at geoext.org] On Behalf Of Bart van den Eijnden
> Sent: Monday, June 07, 2010 11:59 AM
> To: Michael Tafel
> Cc: users at geoext.org
> Subject: Re: [Users] Legend Panel and Internet Explorer
>  
> Do you have a minimal example to show the issue?
>  
> For me it works fine in IE.
>  
> Which version of GeoExt and which version of IE?
>  
> Best regards,
> Bart
>  
> On Jun 7, 2010, at 6:48 PM, Michael Tafel wrote:
> 
> 
> Hello All,,
>  
> I have a Legend Panel as a region in a viewport. The legend graphic works perfectly in FF, Chrome, Safari and Opera.
> 
> It doesn’t work in IE. I tried the different formats (png, gif, jpeg) and still no luck.
>  
> Anyone run into this?
>  
> Thanks,
>  
> --Mike
>  
> Michael Tafel
>  
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20100607/62908a81/attachment-0001.htm 


More information about the Users mailing list