Ticket #1483 (closed bug: duplicate)

Opened 5 years ago

Last modified 5 years ago

ModifyFeature control makes SelectFeature control to modify features

Reported by: openlayers Owned by: tschaub
Priority: minor Milestone:
Component: Control.ModifyFeature Version: 2.6 RC1
Keywords: Cc:
State:

Description

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.

Attachments

modify-and-select-feature.html Download (8.1 KB) - added by openlayers 5 years ago.

Change History

Changed 5 years ago by openlayers

Changed 5 years ago by tschaub

  • status changed from new to closed
  • resolution set to duplicate

Duplicate of #1741.

Note: See TracTickets for help on using tickets.