Ticket #1527 (closed bug: duplicate)

Opened 5 years ago

Last modified 5 years ago

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

Changed 5 years ago by elemoine

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

Xavier, I think this a duplicate of #1483. If you think otherwise feel free to reopen that ticket.

Note: See TracTickets for help on using tickets.