Ticket #1483 (closed bug: duplicate)
ModifyFeature control makes SelectFeature control to modify features
|Reported by:||openlayers||Owned by:||tschaub|
If I add ModifyFeature and SelectFeature controls to a map and connect them to the same layers, selection too becomes modification tool. When I select a feature with SelectFeature control I can see and change modification points(vertex) around the feature. The problem seems to be on ModifyFeature control. It connect events to the layer when it is initialized instead of when it is activated. Should those events be connected and disconnect on activate and deactivate operations instead? I attached a file that demonstrates this bug, it is modified from modify-feature.html example. Create polygon and click "select" radiobutton and select created polygon from map.