[OpenLayers-Users] Multiple Vector Layers (FireFox issue)

Andreas Hocevar ahocevar at opengeo.org
Mon Apr 12 14:52:50 EDT 2010


On 2010-04-12 20:30 , chandanpansare wrote:
> I have multiple vector layers added in map and for each layer I have
> SelectFeature control.
> In IE, Chrome and Safari I'm able to select features of all the layers but
> in case of FireFox only features from the last layer added are accessible.
> would like to if there any work around / solution for this or is it a known
> issue?
> Any help will be greatly appreciated.
>    

You only need one SelectFeature control for all your layers. Configure 
it with an array of your layers, instead of just one layer.

Regards,
Andreas.

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




More information about the Users mailing list