[OpenLayers-Users] How to prevent the creation of polylines with the drawing/measurement controls?

Franz Buchinger fbuchinger at gmail.com
Fri Nov 4 07:27:45 EDT 2011


Is there an easy way to allow only 2-point lines with the drawing or
measurement controls? When the user sets the second line point, the line
should be completed. A further click should start the creation of a new
line.

Any ideas?

Thanks,

Franz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20111104/6a962b70/attachment.html


More information about the Users mailing list