Merge branch 'master' into leaflet-upgrade
This commit is contained in:
commit
1bce76b1c2
@ -841,7 +841,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