diff --git a/package.json b/package.json index 55b0416..fc1adbd 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "cgi": "0.3.1", "compression": "^1.7.4", "express": "^4.16.4", - "sockjs": "^0.3.19" + "sockjs": "~0.3.20" }, "repository": { "type": "git", diff --git a/worldmap/worldmap.js b/worldmap/worldmap.js index 42f11fc..25a6258 100644 --- a/worldmap/worldmap.js +++ b/worldmap/worldmap.js @@ -1572,6 +1572,9 @@ function setMarker(data) { if (data.dashArray) { delete data.dashArray; } if (data.fill) { delete data.fill; } if (data.draggable) { delete data.draggable; } + if (data.hasOwnProperty("clickable")) { delete data.clickable; } + if (data.hasOwnProperty("fillColor")) { delete data.fillColor; } + if (data.hasOwnProperty("radius")) { delete data.radius; } for (var i in data) { if ((i != "name") && (i != "length")) { if (typeof data[i] === "object") {