[OpenLayers-Users] mergeNewParams mess with opacity in IE8-
HerrFlick
tomas.mattern at gmail.com
Thu May 29 04:56:26 PDT 2014
Dear forum,
in my web application, I'm hiding/showing wms polygon boundaries using
mergeNewParams function (see code below). In proper browsers, it works fine
but in IE8 it changes opacity of the layer sometimes.
Any idea how to avoid this behavior?
Thanks alot.
Tomas
if($(this).data('boundaries') == 'yes') {
$("#boundariesDiv").text('Show boundaries');
$("div#map").data("ifMap").mergeNewParams({'styles':style,'env':values +
$("div#map").data("colors") + strokes});
$(this).data('boundaries','no');
}
else {
$("#boundariesDiv").text('Hide boundaries');
$("div#map").data("ifMap").mergeNewParams({'styles':style,'env':values +
$("div#map").data("colors")});
$(this).data('boundaries','yes');
}
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/mergeNewParams-mess-with-opacity-in-IE8-tp5143084.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list