[OpenLayers-Dev] SelectFeature Control Ticket #1666 (new
feature)
Andreas Hocevar
ahocevar at opengeo.org
Wed Jan 21 16:37:38 EST 2009
2009/1/21 Andre Pereira de Matos <andre.matos at co.sapo.pt>:
> Does anyone know if this ticket about select feature control firing events
> on multiple layers (not just in the topmost layer) will be released soon?
It fires events *only* on the layer that the selected feature belongs
to. Not in the topmost layer that the control creates, but in one of
the layers the control is configured with.
But, as Chris pointed out, the code is subject to change.
> Can I use the patch now? What can I do to have this feature?
Apply the patch to a current trunk version of OpenLayers (see [1] for
instructions). Have a look at the example [2] to see how to use.
Regards,
Andreas.
[1] http://trac.openlayers.org/wiki/ApplyingPatches for instructions
[2] http://dev.openlayers.org/sandbox/ahocevar/singleroot/openlayers/examples/select-feature-multilayer.html
--
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.
More information about the Dev
mailing list