diff --git a/CHANGELOG.md b/CHANGELOG.md
index d5551d3..d64fd23 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,6 @@
### Change Log for Node-RED Worldmap
- - v2.13.1 - Add mayflower icon.
+ - v2.13.2 - Add mayflower icon.
- v2.13.0 - Tidy velocity layer. Feedback any url parameters.
- v2.12.1 - Only show online layer options if we are online.
- v2.12.0 - Add live rainfall radar data layer. Remove some non-loading overlays.
diff --git a/README.md b/README.md
index c9c9180..6e7c964 100644
--- a/README.md
+++ b/README.md
@@ -11,6 +11,7 @@ map web page for plotting "things" on.
### Updates
+- v2.13.2 - Add mayflower icon.
- v2.13.0 - Tidy velocity layer. Feedback any url parameters.
- v2.12.1 - Only show online layer options if we are online.
- v2.12.0 - Add live rainfall radar data layer. Remove some non-loading overlays.
diff --git a/package.json b/package.json
index b8e4370..7ea8e05 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "node-red-contrib-web-worldmap",
- "version": "2.13.1",
+ "version": "2.13.2",
"description": "A Node-RED node to provide a web page of a world map for plotting things on.",
"dependencies": {
"cgi": "0.3.1",
diff --git a/worldmap/worldmap.js b/worldmap/worldmap.js
index 67848ef..5e64eb6 100644
--- a/worldmap/worldmap.js
+++ b/worldmap/worldmap.js
@@ -771,13 +771,13 @@ if (navigator.onLine) {
var Esri_OceanBasemap = L.tileLayer('https://server.arcgisonline.com/ArcGIS/rest/services/Ocean_Basemap/MapServer/tile/{z}/{y}/{x}', {
attribution: 'Tiles © Esri — Sources: GEBCO, NOAA, CHS, OSU, UNH, CSUMB, National Geographic, DeLorme, NAVTEQ, and Esri',
- maxZoom: 13
+ maxNativeZoom:13
});
basemaps["Esri Ocean"] = Esri_OceanBasemap;
var Esri_WorldGrayCanvas = L.tileLayer('https://server.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Dark_Gray_Base/MapServer/tile/{z}/{y}/{x}', {
attribution: 'Tiles © Esri — Esri, DeLorme, NAVTEQ',
- maxZoom: 16
+ maxNativeZoom:13
});
basemaps["Esri Dark Grey"] = Esri_WorldGrayCanvas;
@@ -1566,14 +1566,14 @@ function setMarker(data) {
marker = L.marker(ll, {title:data.name, icon:myMarker, draggable:drag});
}
else if (data.icon === "mayflower") {
- data.iconColor = data.iconColor || "white";
+ data.iconColor = data.iconColor || "#910000";
icon = '';
var svgmay = "data:image/svg+xml;base64," + btoa(icon);
myMarker = L.divIcon({
className:"mayflowericon",
- iconAnchor: [16, 32],
- html:'',
+ iconAnchor: [12, 24],
+ html:'',
});
marker = L.marker(ll, {title:data.name, icon:myMarker, draggable:drag});
}