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: [email protected] [mailto:[email protected]] On Behalf Of
Bart van den Eijnden
Sent: Monday, June 07, 2010 11:59 AM
To: Michael Tafel
Cc: [email protected]
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
[email protected]<mailto:[email protected]>
http://www.geoext.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users