[OpenLayers-Dev] [OpenLayers-Trac] [OpenLayers] #1483: ModifyFeature control makes SelectFeature control to modify features

Dipl. Inf. Carsten Eider eider at fh-bingen.de
Mon Jun 16 08:15:35 EDT 2008

Has anyone developed a solution or found a workaround?

OpenLayers schrieb:
> #1483: ModifyFeature control makes SelectFeature control to modify features
> -----------------------------------+----------------------------------------
>  Reporter:  openlayers             |       Owner:  tschaub
>      Type:  bug                    |      Status:  new    
>  Priority:  minor                  |   Milestone:         
> Component:  Control.ModifyFeature  |     Version:  2.6 RC1
>  Keywords:                         |       State:         
> -----------------------------------+----------------------------------------
>  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.

Mit freundlichen Grüßen / Yours faithfully
Carsten Eider

Dipl. Inf. (FH)

Kompetenzzentrum für Innovative Informationssysteme

c/o Fachhochschhule Bingen / University of applied sciences Bingen

Berlinstraße 109
55411 Bingen

Tel: +49 (0) 6721 / 409-179
Fax: +49 (0) 6721 / 409-158
email: eider at fh-bingen.de
Internet: iis.fh-bingen.de 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: eider.vcf
Type: text/x-vcard
Size: 330 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20080616/817a906c/eider.vcf

More information about the Dev mailing list