summaryrefslogtreecommitdiff
path: root/snap.html
diff options
context:
space:
mode:
authorCode WvS <code-wvs@quantentunnel.de>2015-03-08 12:01:54 +0100
committerCode WvS <code-wvs@quantentunnel.de>2015-03-08 12:01:54 +0100
commit9ca58570819d895261734076af45b4c8c5d7b075 (patch)
tree1ae996146b9a89573bb6a66eb426ef80ffc3f390 /snap.html
parente9282585122bdd21ae4a8ebe2463eb75290baebf (diff)
downloadsnap-yow-9ca58570819d895261734076af45b4c8c5d7b075.tar.gz
snap-yow-9ca58570819d895261734076af45b4c8c5d7b075.zip
differ between shapes and lines
Diffstat (limited to 'snap.html')
-rwxr-xr-xsnap.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/snap.html b/snap.html
index 597ac17..4542c92 100755
--- a/snap.html
+++ b/snap.html
@@ -121,6 +121,8 @@
// so polylines contains complete lines created by different sprites.
// These lines might be (partially) transformed into polygons.
window.penTrails = L.layerGroup().addTo(map);
+ window.shapes = L.layerGroup().addTo(window.penTrails);
+ window.lines = L.layerGroup().addTo(window.penTrails);
window.polylines = polylines;
polylineIndex = 0;
polylines = [];