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 > [email protected] > http://openlayers.org/mailman/listinfo/users _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
