Arnd, Your suggestion and the link to the modified ModifyFeature.js did the trick!
Thanks a ton! Mark Arnd Wippermann wrote: > Hi, > have a look at this threat at the reply from Oscar. > > http://www.nabble.com/Re%3A--OpenLayers-Trac---OpenLayers---1483%3A-ModifyFeature-control-makes-SelectFeature-control-to-modify-features-to17863300.html#a17863300 > > Arnd Wippermann > > > Mark K. Zanfardino wrote: > >> My apologies if this is a duplicate message. I posted a similar email >> before I'd joined the devel mail list and can't confirm if it was sent >> to the list or not. >> >> NOTE: OpenLayers 2.6 - I am using the selection control and the modify >> control on the same map. I have written custom behaviors for each of >> these two controls. I'm finding that the selection control calls the >> onModificationX events which are registered to the modify control and >> not the selection control. With console.log I can observe that when I >> choose the select tool and select a given polygon the onModificationX >> functions are called. If I omit the modification tool altogether select >> calls the appropriate onSelect event. >> >> This behavior can be viewed at >> http://crschmidt.net/mapping/wpserverdemo/. Simply draw a polygon, >> choose the select tool then select the newly drawn polygon. You will >> note that the modify handles will be available and that you can modify >> the polygon. This is the same behavior as that of the modify tool. >> >> >> Mark K. Zanfardino >> >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://openlayers.org/mailman/listinfo/dev >> >> >> > > _______________________________________________ Dev mailing list [email protected] http://openlayers.org/mailman/listinfo/dev
