From 9ca58570819d895261734076af45b4c8c5d7b075 Mon Sep 17 00:00:00 2001 From: Code WvS Date: Sun, 8 Mar 2015 12:01:54 +0100 Subject: differ between shapes and lines --- snap.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'snap.html') 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 = []; -- cgit v1.3.1