[OpenLayers-Users] RootContainer styleMap problem- IE

Andreas Hocevar ahocevar at opengeo.org
Tue May 4 06:55:46 EDT 2010


Hi,

posting an example that shows the issue would help. I suspect that your StyleMap has incomplete symbolizers.

Regards,
Andreas.

On May 4, 2010, at 05:55 , mortac8 wrote:

> 
> I forgot to add that my Point features with an externalGraphic retain their
> styling (no problems).  The loss of styling issue seems to only occur with
> Polygons, Polylines, etc.
> 
> 
> mortac8 wrote:
>> 
>> In IE 7/8 when I create a SelectFeature control and pass in an array of
>> layers, all of my features' styles  are lost (am using a custom StyleMap).  
>> 
>> If I modify Control/SelectFeature:initLayer to pass the styleMap to the
>> RootContainer constructor, the styles will take effect if I redraw after
>> activating the tool.  However IE makes such a redraw operation painfully
>> slow.
>> 
>> Is there any way in IE that I can activate the SelectFeature control with
>> an array of layers and have my features keep their styling without an
>> expensive redraw of the layers?  As usual, this problem doesn't exist in
>> other browsers.
>> 
>> Ideas are greatly appreciated.  Thanks!
>> 
>> 
> 
> -- 
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/RootContainer-styleMap-problem-IE-tp5001602p5001623.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.




More information about the Users mailing list