From 9f54efdb1674d5125d6af0b7f8edb3d066170ce4 Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Fri, 15 Mar 2019 19:24:10 +0000 Subject: [PATCH] Add context menu to README and bump version to 1.5.32 --- .github/no-response.yml | 12 ------------ CHANGELOG.md | 1 + README.md | 2 ++ package.json | 2 +- worldmap/index.html | 2 +- worldmap/worldmap.appcache | 2 +- 6 files changed, 6 insertions(+), 15 deletions(-) delete mode 100644 .github/no-response.yml diff --git a/.github/no-response.yml b/.github/no-response.yml deleted file mode 100644 index c8651f7..0000000 --- a/.github/no-response.yml +++ /dev/null @@ -1,12 +0,0 @@ -# Configuration for probot-no-response - https://github.com/probot/no-response - -# Number of days of inactivity before an Issue is closed for lack of response -daysUntilClose: 30 -# Label requiring a response -responseRequiredLabel: OK to close ? -# Comment to post when closing an Issue for lack of response. Set to `false` to disable -closeComment: > - This issue has been automatically closed because there has been no response - to our request for more information from the original author. - Please reach out if you have or find the answers we need so - that we can investigate further. diff --git a/CHANGELOG.md b/CHANGELOG.md index 513269a..2f6516f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ ### Change Log for Node-RED Worldmap + - v1.5.32 - Add .contextmenu custom right click menu, Fix map lock, Close websocket on unload - v1.5.31 - Fix pan first at start, and coords overlay. Issues #81 and #82 - v1.5.30 - Add tooltip option, ability to remove base layer, search on icon, show mouse pointer co-ordinates - v1.5.29 - remove lat/lon from popup if using .popup property. Allow icon to be loaded from http. diff --git a/README.md b/README.md index fcbd9b1..3347274 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ map web page for plotting "things" on. ### Updates +- v1.5.32 - Add .contextmenu custom right click menu, Fix map lock, Close websocket on unload - v1.5.31 - Fix pan first at start, and coords overlay. Issues #81 and #82 - v1.5.30 - Add .tooltip option, ability to remove base layer, search on icon, show mouse pointer co-ordinates - v1.5.29 - Remove lat/lon from popup if using .popup property. Allow icon to be loaded from http. @@ -68,6 +69,7 @@ Optional properties include - **popup** : html to fill the popup if you don't want the automatic default of the properties list. - **label** : displays the contents as a permanent label next to the marker, or - **tooltip** : displays the contents when you hover over the marker. (Mutually exclusive with label. Label has priority) + - **contextmenu** : an html fragment to display on right click of marker - defaults to delete marker. You can specify `$name` to pass in the name of the marker. Set to `""` to disable. Any other `msg.payload` properties will be added to the icon popup text box. This can be overridden by using the **popup** property to supply your own html content. diff --git a/package.json b/package.json index 10d0ecb..631e9e0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "node-red-contrib-web-worldmap", - "version": "1.5.31", + "version": "1.5.32", "description": "A Node-RED node to provide a web page of a world map for plotting things on.", "dependencies": { "cgi": "0.3.1", diff --git a/worldmap/index.html b/worldmap/index.html index b8ab834..bb301f4 100644 --- a/worldmap/index.html +++ b/worldmap/index.html @@ -324,7 +324,7 @@ function doHeatAll(v) { var lockit = false; var mb = new L.LatLngBounds([[-120,-360],[120,360]]); function doLock(v) { - if (v !== undefined) { lockit = v; + if (v !== undefined) { lockit = v; } if (lockit === false) { mb = new L.LatLngBounds([[-120,-360],[120,360]]); } diff --git a/worldmap/worldmap.appcache b/worldmap/worldmap.appcache index 57e5729..199a0f3 100644 --- a/worldmap/worldmap.appcache +++ b/worldmap/worldmap.appcache @@ -1,5 +1,5 @@ CACHE MANIFEST -# date: Mar 14th 2019 - v1.5.31 +# date: Mar 15th 2019 - v1.5.32 CACHE: index.html