Merge pull request #3616 from ahocevar/freehand-drawing

Add support for freehand drawing to the Draw interaction
This commit is contained in:
Andreas Hocevar
2015-04-27 11:27:10 +02:00
4 changed files with 103 additions and 9 deletions

View File

@@ -3,8 +3,11 @@ template: example.html
title: Draw features example
shortdesc: Example of using the ol.interaction.Draw interaction.
docs: >
Example of using the ol.interaction.Draw interaction.
tags: "draw, edit, vector"
Example of using the Draw interaction. Select a geometry type from the
dropdown above to start drawing. To finish drawing, click the last
point. To activate freehand drawing for lines and polygons, hold the `Shift`
key.
tags: "draw, edit, freehand, vector"
---
<div class="row-fluid">
<div class="span12">