thanks! that worked perfectly for me!

2011/11/4 Bart van den Eijnden <[email protected]>

> Hi,
>
> if you use OpenLayers 2.11 you can use maxVertices: 2 in your config for
> Handler.Path, see:
>
> http://trac.osgeo.org/openlayers/ticket/2779
>
> Best regards,
> Bart
>
> --
> Bart van den Eijnden
> OSGIS - http://osgis.nl
>
> On Nov 4, 2011, at 12:27 PM, Franz Buchinger wrote:
>
> 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
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
>
>
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to