[OpenLayers-Users] Canceling move / zoom events when features unsaved

Eric Lemoine eric.lemoine at camptocamp.com
Thu Oct 1 02:08:14 EDT 2009


On Wednesday, September 30, 2009, João Domingues <jdomingues at sinfic.pt> wrote:
> Hi all,
>
> I'm trying to prevent loosing unsaved features on pan / zoom events. I was trying to redefine those event handlers for my wfs layer, to present a message to the user, who should confirm or cancel the event before the layer refresh is triggered. But still no success... another possibility is saving copies of features, but doesn't seem right. Has anyone tried this before? any sugestions?

Can't you use a Fixed strategy?

Cheers,


>
> Thanks,
> João Domingues
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>

-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com



More information about the Users mailing list