[OpenLayers-Dev] OL 2.13 Modify Feature Example IE8/IE7 : Can't remove vertex

HATRI Aurelien aurelien.hatri at atos.net
Wed Aug 14 02:42:06 PDT 2013


Andreas,

Thanks for your reactivity.
It's important for us to make it work on IE8/7 so we will definitely look for a fix ASAP.

As far as I'm concerned a pull request we follow. :)

De : andreas.hocevar at gmail.com [mailto:andreas.hocevar at gmail.com] De la part de Andreas Hocevar
Envoyé : mercredi 14 août 2013 00:17
À : HATRI Aurelien
Cc : openlayers-dev at lists.osgeo.org; SANTOS Daniel
Objet : Re: [OpenLayers-Dev] OL 2.13 Modify Feature Example IE8/IE7 : Can't remove vertex

It looks like the srcElement of the event we're handling in handleKeypress is the focused element. So I guess it will be necessary to pass the drag handler's last move event instead of the keypress event to the layer's getFeatureIdFromEvent method.

A pull request with a fix would be much appreciated.

Thanks!
Andreas.

On Tue, Aug 13, 2013 at 4:15 PM, HATRI Aurelien <aurelien.hatri at atos.net<mailto:aurelien.hatri at atos.net>> wrote:
Hello,

First of all thanks for the good job you guys are doing on the library.

So my issue is on the modify feature example.
I can't remove a vertex on a Polygon or on a Line with the IE8 and IE7 in 2.13. It worked in 2.12.

I didn't dig very deeply but it seems that now because ModifyFeature doesn't use anymore the DragFeature control after a keydown event OL can't find anymore the vertex feature's id with getFeatureIdFromEvent.

It feels IE 8/7 issue here.

Before I try to push further it will be great if you can find the time to look at it.

Thanks in advance.
Regards.

________________________________

Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité du groupe Atos ne pourra être engagée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être engagée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos group liability cannot be triggered for the message content. Although the sender endeavors to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.

_______________________________________________
Dev mailing list
Dev at lists.osgeo.org<mailto:Dev at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/openlayers-dev



--
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20130814/58798fc3/attachment.html>


More information about the Dev mailing list