Fix Add icon menu to include sidc link
This commit is contained in:
parent
14f51b7016
commit
2363a767b9
@ -1,6 +1,6 @@
|
||||
### Change Log for Node-RED Worldmap
|
||||
|
||||
- v2.21.7 - Let SIDC/icon short code be only 4 chars long
|
||||
- v2.21.8 - Let SIDC/icon short code be only 4 chars long
|
||||
- v2.21.5 - Fix handling of "old" ship nav to ship navigation
|
||||
- v2.21.4 - Fix speed leader length. Add transparentPixels option.
|
||||
- v2.21.3 - Add zoom to bounds action. Adjust map layers max zoom levels.
|
||||
|
@ -11,7 +11,7 @@ map web page for plotting "things" on.
|
||||
|
||||
### Updates
|
||||
|
||||
- v2.21.7 - Let SIDC/icon short code be only 4 chars long
|
||||
- v2.21.8 - Let SIDC/icon short code be only 4 chars long
|
||||
- v2.21.5 - Fix handling of "old" ship nav to ship navigation
|
||||
- v2.21.4 - Fix speed leader length. Add transparentPixels option..
|
||||
- v2.21.3 - Add zoom to bounds action. Adjust map layers max zoom levels.
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "node-red-contrib-web-worldmap",
|
||||
"version": "2.21.7",
|
||||
"version": "2.21.8",
|
||||
"description": "A Node-RED node to provide a web page of a world map for plotting things on.",
|
||||
"dependencies": {
|
||||
"@turf/bezier-spline": "~6.5.0",
|
||||
|
@ -653,7 +653,8 @@ map.on('moveend', function() {
|
||||
//});
|
||||
|
||||
// single right click to add a marker
|
||||
var addmenu = "<b>Add marker</b><br><input type='text' id='rinput' autofocus onkeydown='if (event.keyCode == 13) addThing();' placeholder='name (,icon, layer, colour, heading)'/>";
|
||||
var addmenu = "<b>Add marker</b><br><input type='text' id='rinput' autofocus onkeydown='if (event.keyCode == 13) addThing();' placeholder='name (,icon/SIDC, layer, colour, heading)'/>";
|
||||
if (navigator.onLine) { addmenu += '<br/><a href="https://spatialillusions.com/unitgenerator/" target="_new">MilSymbol SIDC generator</a>'; }
|
||||
var rightmenuMap = L.popup({keepInView:true, minWidth:250}).setContent(addmenu);
|
||||
|
||||
var rclk = {};
|
||||
|
Loading…
Reference in New Issue
Block a user