Ticket #1527 (closed bug: duplicate)
A feature goes in 'modification' state when it is selected while the 'SelectFeature' control is activated
| Reported by: | xculos | Owned by: | tschaub |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | Control.ModifyFeature | Version: | 2.6 |
| Keywords: | Cc: | xavier.culos@… | |
| State: | Needs More Work |
Description
Attached to the same layer, a ModifyFeature control and a SelectFeaturecontrol are instanciated
When active mode 'select' and you select an feature, it switches to 'modification' mode (with nodes)
The method selectFeature of Class OpenLayers.Control.ModifyFeature is activated.
In my case, I add the following line which corrects the problem (in OpenLayers.Control.ModifyFeature)
selectFeature: function(object) {
if (! this.active) return;
Other ideas more elegant? and sorry for my googled English.
Change History
Note: See
TracTickets for help on using
tickets.
