From b3933ed139d154c2eec30b5c3f8a0333ae7af1f9 Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Sun, 21 Apr 2019 18:42:02 +0100 Subject: [PATCH] undo overzealous tidy --- worldmap/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldmap/index.html b/worldmap/index.html index 44725d3..d17cc34 100644 --- a/worldmap/index.html +++ b/worldmap/index.html @@ -837,7 +837,7 @@ map.on('draw:created', function (e) { var layer = e.layer; //console.log(type, layer._latlngs); //console.log(JSON.stringify(layer.toGeoJSON())); - ws.send(JSON.stringify({action:"draw" type:type, points:layer._latlngs})); + ws.send(JSON.stringify({action:"draw", type:type, points:layer._latlngs})); layers["_drawing"].addLayer(layer); });