remove xs logging
This commit is contained in:
parent
40dac68dab
commit
a478a3ac63
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name" : "node-red-contrib-web-worldmap",
|
"name" : "node-red-contrib-web-worldmap",
|
||||||
"version" : "1.1.5",
|
"version" : "1.1.6",
|
||||||
"description" : "A Node-RED node to provide a web page of a world map for plotting things on.",
|
"description" : "A Node-RED node to provide a web page of a world map for plotting things on.",
|
||||||
"dependencies" : {
|
"dependencies" : {
|
||||||
"express": "^4.15.0",
|
"express": "^4.15.0",
|
||||||
|
@ -1090,16 +1090,12 @@ function setMarker(data) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function doCommand(cmd) {
|
function doCommand(cmd) {
|
||||||
console.log("COMMAND",cmd);
|
//console.log("COMMAND",cmd);
|
||||||
// ignore server side initial command if client position already saved.
|
// ignore server side initial command if client position already saved.
|
||||||
if (cmd.hasOwnProperty("init") && initialposition) {
|
if (cmd.hasOwnProperty("init") && initialposition) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (cmd.hasOwnProperty("clear")) {
|
if (cmd.hasOwnProperty("clear")) {
|
||||||
console.log("CLEAR",cmd.clear);
|
|
||||||
console.log(layers);
|
|
||||||
console.log(markers);
|
|
||||||
console.log(polygons);
|
|
||||||
doTidyUp(cmd.clear);
|
doTidyUp(cmd.clear);
|
||||||
}
|
}
|
||||||
if (cmd.hasOwnProperty("panit")) {
|
if (cmd.hasOwnProperty("panit")) {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
CACHE MANIFEST
|
CACHE MANIFEST
|
||||||
# date: Oct 10th 2017 - v1.1.5
|
# date: Oct 10th 2017 - v1.1.6
|
||||||
|
|
||||||
CACHE:
|
CACHE:
|
||||||
index.html
|
index.html
|
||||||
|
Loading…
Reference in New Issue
Block a user