Hi at all,
i have a map with:
- single image layer as background layer
- many layer with many geometry features
- one SelectFeature to select on click a feature
- one SelectFeature to highlight on mouseover
Now the problem is that in IE all works well(incredible!). In FF not
(semi-incredible!).
For FF ONLY the first layer added to the map work, all other layers not.
My procedure (in human-meta-language):
- create map
- create the 2 SelectFeature with an array empty of layers []
- add layers to the map
- for each layer i:
- attach an event listener to the layer for the highlight events
- push it in the '.layers' property of the two SelectFeature
- activate the control
I have tried another way: (more logical, but nothing work)
- create map
- add the layers
- pass the array layer to the SelectFeature controls AND set the listener
Tnx for any suggestion!
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users