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

Richard Duivenvoorde rdmailings at duif.net
Thu Jun 14 06:55:05 EDT 2007


Thanks both!
It's working now.
Richard

Richard Duivenvoorde wrote:
> 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
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users



More information about the Users mailing list