From c5f239f0dcb9bfa9f3786b237a1c40bb1976bb12 Mon Sep 17 00:00:00 2001 From: Code WvS Date: Mon, 23 Mar 2015 18:34:03 +0100 Subject: short note --- objects.js | 1 + 1 file changed, 1 insertion(+) (limited to 'objects.js') diff --git a/objects.js b/objects.js index e07789b..04918e8 100644 --- a/objects.js +++ b/objects.js @@ -2940,6 +2940,7 @@ SpriteMorph.prototype.up = function (mode) { if (window.polylines[this.myPolylineIndex].getLatLngs().length < 3) return; + // Note to future self: You might want to improve this with https://www.mapbox.com/mapbox.js/example/v1.0.0/turf/ if (this.penMode == 'a shape') { // transform the line that has just been finished into a polygon window.polygons[window.polygonIndex++] = L.polygon( -- cgit v1.3.1