[OpenLayers-Users] OL 2.7 and ModifyFeature.Control

Björn Harrtell bjorn.harrtell at gmail.com
Thu Oct 9 15:46:32 EDT 2008


The ticket in question is #1741 and I think I just fixed the problem. A
patch is attached in the ticket - enjoy :)

/Björn

On Thu, Oct 9, 2008 at 9:05 PM, Björn Harrtell <bjorn.harrtell at gmail.com>wrote:

> As far as I know it is not a regression. But needs to be fixed IMO :) I'll
> give it a go right now actually.
>
> /Björn
>
>
> On Thu, Oct 9, 2008 at 12:15 AM, Eric Lemoine <eric.c2c at gmail.com> wrote:
>
>> Hi.
>>
>> I don't know about the delete key.
>>
>> Now regarding the modify feature and the select feature controls not
>> playing well together. This is a known issue, which is reported in
>> some ticket already. But this bug isn't a regression, right?
>>
>> Eric
>>
>> 2008/10/8, Arnd Wippermann <arnd.wippermann at web.de>:
>> > The update from 2.6 to 2.7 was wonderful easy. I changed only my
>> OpenLayers
>> > singlefile and all works than with OL 2.6. Zooming with vector features
>> on
>> > the map works better than with 2.6.
>> >
>> > But one thing was strange.
>> >
>> > To get the delete key 'd' working, i have to change the keycode from 100
>> to
>> > 68. 'delete' works.
>> >
>> > Is this a bug?
>> >
>> > And I have hoped a behavior known in OL 2.6 would vanish with OL 2.7.
>> >
>> > If the two controls ModifyFeature.Control and SelectFeature.Control are
>> both
>> > added to a map, one could use also the SelectFeature.Control to modify
>> the
>> > vertices! But this is still possible with OL 2.7. Try it with the
>> example
>> > "select-feature.html" by adding ", modify : new
>> > OpenLayers.Control.ModifyFeature(vectors)" to the drawControls object.
>> >
>> > Thanks to a previous post from Oscar Fonts (for OL 2.6), I could correct
>> > this behavior for the SelectFeature.Control.
>> >
>> >
>> > Mit freundlichen Grüssen
>> >
>> > Arnd Wippermann
>> > http://gis.ibbeck.de/ginfo/
>> >
>> >
>> > _______________________________________________
>> > Users mailing list
>> > Users at openlayers.org
>> > http://openlayers.org/mailman/listinfo/users
>> >
>> _______________________________________________
>> Users mailing list
>> Users at openlayers.org
>> http://openlayers.org/mailman/listinfo/users
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20081009/1eb1362b/attachment.html


More information about the Users mailing list