undo overzealous tidy

This commit is contained in:
Dave Conway-Jones 2019-04-21 18:42:02 +01:00
parent 604a7a41d9
commit b3933ed139
No known key found for this signature in database
GPG Key ID: 9E7F9C73F5168CD4

View File

@ -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);
});