node-red-contrib-web-worldmap 2.21.7 → 2.21.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/README.md +1 -1
- package/package.json +1 -1
- package/worldmap/worldmap.js +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
### Change Log for Node-RED Worldmap
|
|
2
2
|
|
|
3
|
-
- v2.21.
|
|
3
|
+
- v2.21.8 - Let SIDC/icon short code be only 4 chars long
|
|
4
4
|
- v2.21.5 - Fix handling of "old" ship nav to ship navigation
|
|
5
5
|
- v2.21.4 - Fix speed leader length. Add transparentPixels option.
|
|
6
6
|
- v2.21.3 - Add zoom to bounds action. Adjust map layers max zoom levels.
|
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ map web page for plotting "things" on.
|
|
|
11
11
|
|
|
12
12
|
### Updates
|
|
13
13
|
|
|
14
|
-
- v2.21.
|
|
14
|
+
- v2.21.8 - Let SIDC/icon short code be only 4 chars long
|
|
15
15
|
- v2.21.5 - Fix handling of "old" ship nav to ship navigation
|
|
16
16
|
- v2.21.4 - Fix speed leader length. Add transparentPixels option..
|
|
17
17
|
- v2.21.3 - Add zoom to bounds action. Adjust map layers max zoom levels.
|
package/package.json
CHANGED
package/worldmap/worldmap.js
CHANGED
|
@@ -653,7 +653,8 @@ map.on('moveend', function() {
|
|
|
653
653
|
//});
|
|
654
654
|
|
|
655
655
|
// single right click to add a marker
|
|
656
|
-
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)'/>";
|
|
656
|
+
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)'/>";
|
|
657
|
+
if (navigator.onLine) { addmenu += '<br/><a href="https://spatialillusions.com/unitgenerator/" target="_new">MilSymbol SIDC generator</a>'; }
|
|
657
658
|
var rightmenuMap = L.popup({keepInView:true, minWidth:250}).setContent(addmenu);
|
|
658
659
|
|
|
659
660
|
var rclk = {};
|