From 3b6978990939683de01478dbaab89e0549b22151 Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Wed, 3 Nov 2021 15:13:51 +0000 Subject: [PATCH] fix ship overlay name --- package.json | 2 +- worldmap.html | 2 +- worldmap/worldmap.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index a39a84a..4831d05 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "node-red-contrib-web-worldmap", - "version": "2.21.1", + "version": "2.21.2", "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", diff --git a/worldmap.html b/worldmap.html index 4bc005f..d683abb 100644 --- a/worldmap.html +++ b/worldmap.html @@ -293,7 +293,7 @@ If Web Path is left empty, then by default ⌘⇧m - c

Icons of type plane, ship, car, uav or arrow will use built in SVG icons that align to the bearing value.

Font Awesome (fa-icons 4.7) can also be used, as can - NATO symbology codes (SIDC), or :emoji name:, + NATO symbology codes (SIDC), or :emoji name:, or the url of a small icon image (32x32)

See the README for further details and examples of icons and commands for drawing lines and areas, and to add layers and diff --git a/worldmap/worldmap.js b/worldmap/worldmap.js index 2367bc1..ce9c9f2 100644 --- a/worldmap/worldmap.js +++ b/worldmap/worldmap.js @@ -1144,7 +1144,7 @@ var addOverlays = function(overlist) { // Add the OpenSea markers layer if (overlist.indexOf("SN")!==-1) { - overlays["ship nav"] = L.tileLayer('https://tiles.openseamap.org/seamark/{z}/{x}/{y}.png', { + overlays["ship navigation"] = L.tileLayer('https://tiles.openseamap.org/seamark/{z}/{x}/{y}.png', { maxZoom: 19, attribution: 'Map data: © OpenSeaMap contributors' });