Add context menu to README

and bump version to 1.5.32
This commit is contained in:
Dave Conway-Jones 2019-03-15 19:24:10 +00:00
parent ed9815f889
commit 9f54efdb16
No known key found for this signature in database
GPG Key ID: 9E7F9C73F5168CD4
6 changed files with 6 additions and 15 deletions

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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",

View File

@ -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]]);
}

View File

@ -1,5 +1,5 @@
CACHE MANIFEST
# date: Mar 14th 2019 - v1.5.31
# date: Mar 15th 2019 - v1.5.32
CACHE:
index.html