[OpenLayers-Users] any click events in Control.DrawFeature while drawing polygon

Richard Duivenvoorde rdmailings at duif.net
Tue Jun 12 17:26:46 EDT 2007


Hi,

I'm using the DrawFeature control to let users define linestrings. I can 
capture the doubleclick event (for ending the line) using 
lineLayer.onFeatureInsert

But I cannot find a way to check something WHILE clicking/adding the 
segments. Actually on the addition of every segment I want to be able to 
count the number of segments, because I want to be sure the will be not 
more then 20 segments in certain lines.

Regards

Richard Duivenvoorde



More information about the Users mailing list