I created a ticket for this, with a patch that should fix the issue. Can you please try?
http://trac.openlayers.org/ticket/2784 Regards, Andreas. On Aug 14, 2010, at 13:50 , Michael Sephton wrote: > Thanks for your advice. It seems that even if i specify stroke:false in the > default style and stroke:true in the select style, Internet explorer still > exhibits the same unexpected behaviour. > See: > http://members.optusnet.com.au/~msephton/ol/gml-layer_h2.html (now updated > with stroke:false and stroke:true) > Sorry I noticed a typo in my original post: > "Internet explorer does not behave in the expected way if the default select > is specified with a strokeWidth of zero..." > should have been: > "Internet explorer does not behave in the expected way if the default -STYLE- > is specified with a strokeWidth of zero..." > > > > Subject: Re: [OpenLayers-Users] Bug? with SelectFeature, Stylemap and > > strokeWidth=0.0 on IE 8 > > From: ahoce...@opengeo.org > > Date: Sat, 14 Aug 2010 12:00:31 +0200 > > CC: users@openlayers.org > > To: msephto...@hotmail.com > > > > Hi, > > > > if you don't want a stroke, you should use > > > > stroke: false > > > > rather than setting a zero strokeWidth or strokeOpacity. > > > > Regards, > > Andreas. > > > > On Aug 14, 2010, at 06:17 , Michael Sephton wrote: > > > > > I think I have found a bug in OpenLayers. > > > It happens when you have a gml_layer, a selectFeature control applied to > > > it, and a styleMap with different styles for default and select. Internet > > > explorer does not behave in the expected way if the default select is > > > specified with a strokeWidth of zero AND the select style has a > > > strokeWidth=2.0 (or >0.0 probably). > > > The problem is demonstrated in the following example (which works fine in > > > Firefox but not in IE8): > > > http://members.optusnet.com.au/~msephton/ol/gml-layer_h2.html > > > > > > A work around for this problem is to set the strokeWidth and > > > strokeOpacity for the default style as 1.0 and 0.0 respectively, and the > > > strokeOpacity for the select style as 1.0 (or >0.0 probably). > > > The work around is demonstrated in this example: > > > http://members.optusnet.com.au/~msephton/ol/gml-layer_h2b.html > > > > > > Should I file a ticket for this? > > > > > > _______________________________________________ > > > Users mailing list > > > Users@openlayers.org > > > http://openlayers.org/mailman/listinfo/users > > > > > > > > -- > > Andreas Hocevar > > OpenGeo - http://opengeo.org/ > > Expert service straight from the developers. > > -- Andreas Hocevar OpenGeo - http://opengeo.org/ Expert service straight from the developers. _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users