[OpenLayers-Users] Cancel drawing polygon

Richard Duivenvoorde rdmailings at duif.net
Fri Nov 28 10:40:10 EST 2008


He Bas,
for 2.5 I hacked something like that together.
I added some of it to the EditingToolbar Example here:
http://www.duif.net/openLayers27/examples/ctrlz.html
in this demo it's only working for line drawing.
Don't know what is the preferred way, but it was working for me...
Regards,
Richard Duivenvoorde

Bas Couwenberg wrote:
> Hello,
> 
> is there a way for when I am drawing a polygon and I didn't finish it 
> yet with double click to use a button like escape that stops the current 
> drawing and deletes it?
> 
> Greetings,
> 
> Bas Couwenberg
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users




More information about the Users mailing list