[Users] Legend Panel and Internet Explorer
Michael Tafel
MTafel at drcog.org
Mon Jun 7 21:14:09 CEST 2010
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<mailto: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/bd629bb0/attachment-0001.htm
More information about the Users
mailing list