From e74c67d0711a0c41bca9987041e92940854d13e2 Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Tue, 10 Oct 2017 23:51:18 +0100 Subject: [PATCH] Add layer option to node edit control To close #27 --- README.md | 1 + package.json | 2 +- worldmap.html | 14 +++++++++++--- worldmap.js | 2 ++ worldmap/index.html | 33 ++++++++++++++++++++++++--------- worldmap/worldmap.appcache | 2 +- 6 files changed, 40 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 6bcecbe..d3c5b59 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,7 @@ map web page for plotting "things" on. ![Map Image](https://dceejay.github.io/pages/images/redmap.png) ### Changes + - v1.1.4 - Let layer control be visible or not - v1.1.3 - more typos. - v1.1.1 - fix adding layer to embedded map in iframe - v1.1.0 - Move to sockjs (smaller than socket.io). Remove layers that are no longer served for free, Issue #24. Remove polygons as well as markers on timeout. diff --git a/package.json b/package.json index 7bde607..0575c46 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name" : "node-red-contrib-web-worldmap", - "version" : "1.1.3", + "version" : "1.1.4", "description" : "A Node-RED node to provide a web page of a world map for plotting things on.", "dependencies" : { "express": "^4.15.0", diff --git a/worldmap.html b/worldmap.html index 9b0a5ec..c96a0cd 100644 --- a/worldmap.html +++ b/worldmap.html @@ -50,12 +50,20 @@ Remove markers after seconds
- + - Auto-pan + + + +
+
+ + @@ -114,6 +122,7 @@ cluster: {value:""}, maxage: {value:""}, usermenu: {value:"show"}, + layers: {value:"show"}, panit: {value:"false"} }, inputs:1, @@ -137,7 +146,6 @@ }); -