Hi, I'm trying to edit Vector layers and I want to combine the
ModifyFeature control with a SelectControl with highlight capabilities.
So I modified the example
http://dev.openlayers.org/releases/OpenLayers-2.11/examples/modify-feature.html
to
do so with this snippet
* var highlightCtrl = new OpenLayers.Control.SelectFeature(vectors, {*
* hover: true,*
* highlightOnly: true,*
* renderIntent: "temporary"}); *
*
*
* map.addControl(highlightCtrl);*
* highlightCtrl.activate();*
*
*
The problem is when the ModifyFeatureControl is active and I select a
feature, if I move the mouse over another feature and then I go back to the
first one it looses the "select style".
How can I avoid such a behaviour?
Thanks
Nacho
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users