Hi list, I'm extending the functionalities of the layer switcher control to allow it to show the legend of a wms layer. Until know everything has worked properly, but I'm having some troubles testing it under IE6.This development is very specific, and it has to be like this. We create som sld's on the fly regarding some criteria selected by the user, and then I force a control redraw to get the legend. The execution is breaking on the line where I set the img's dom object src attribute. I mean:
var uri = "?REQUEST=GetLegendGraphic&TRANSPARENT=true&VERSION=1.0.0&FORMAT=image/png&WIDTH=25&HEIGHT=25&LEGEND_OPTIONS=fontStyle:bold;fontColor:ff0000&LAYER=" + layer.params.LAYERS + estiloWMS; img.src = layer.url + uri; estiloWMS contains the full SLD_BODY parameter. Is there a limitation in src attribute regarding to string length and IE6?? It works in FireFox and in IE8 but not in IE6. TIA. 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: [email protected] web: www.ikt.es ·················································································· _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
