undo overzealous tidy
This commit is contained in:
parent
604a7a41d9
commit
b3933ed139
@ -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);
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user