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. _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users