add how to delete info to tracks node

This commit is contained in:
Dave Conway-Jones 2018-06-04 21:10:09 +01:00
parent deec8ffab0
commit c5ebded6ef
No known key found for this signature in database
GPG Key ID: 9E7F9C73F5168CD4
3 changed files with 4 additions and 5 deletions

View File

@ -1,5 +1,6 @@
### Change Log for Node-RED Worldmap ### Change Log for Node-RED Worldmap
- v1.1.16 - Add Velocity layer - for velocity grid type overlays (eg wind, currents, etc)
- v1.1.15 - Tidy of Info, Readme and NATO symbol options. - v1.1.15 - Tidy of Info, Readme and NATO symbol options.
- v1.1.14 - Add proper NATO symbology via <a href="https://github.com/spatialillusions/milsymbol" target="mapinfo">milsymbol.js</a> - v1.1.14 - Add proper NATO symbology via <a href="https://github.com/spatialillusions/milsymbol" target="mapinfo">milsymbol.js</a>
- v1.1.13 - Add ability to set a building using a GeoJSON Feature set. {name:"MyTower":building:{...feature sets...}} - v1.1.13 - Add ability to set a building using a GeoJSON Feature set. {name:"MyTower":building:{...feature sets...}}

View File

@ -1,6 +1,6 @@
{ {
"name": "node-red-contrib-web-worldmap", "name": "node-red-contrib-web-worldmap",
"version": "1.1.15", "version": "1.1.16",
"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": {
"cgi": "0.3.1", "cgi": "0.3.1",

View File

@ -144,7 +144,6 @@
}, },
info: function() { info: function() {
return 'The map can be found [here]('+RED.settings.httpNodeRoot.slice(0,-1)+'/worldmap).'; return 'The map can be found [here]('+RED.settings.httpNodeRoot.slice(0,-1)+'/worldmap).';
//return 'The map can be found <a href="'+RED.settings.httpNodeRoot.slice(0,-1)+'/worldmap" target="_blank">here</a>.';
}, },
oneditprepare: function() { oneditprepare: function() {
$( "#node-input-zoom" ).spinner({min:0, max:18}); $( "#node-input-zoom" ).spinner({min:0, max:18});
@ -202,6 +201,8 @@
<p>Creates tracks lines based on a specified number of previous locations.</p> <p>Creates tracks lines based on a specified number of previous locations.</p>
<p>Holds all the points in memory, so if you have a lot of points held for a <p>Holds all the points in memory, so if you have a lot of points held for a
large depth then memory usage may become excessive.</p> large depth then memory usage may become excessive.</p>
<p>To delete a track send a msg.payload containing both the name of the object and
set <code>msg.payload.deleted = true</code></p>
</script> </script>
<script type="text/javascript"> <script type="text/javascript">
@ -221,9 +222,6 @@
}, },
labelStyle: function() { labelStyle: function() {
return this.name?"node_label_italic":""; return this.name?"node_label_italic":"";
},
info: function() {
return 'The map can be found [here]('+RED.settings.httpNodeRoot.slice(0,-1)+'/worldmap).';
} }
}); });
</script> </script>