diff --git a/CHANGELOG.md b/CHANGELOG.md
index c39308b..d5551d3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,6 @@
### Change Log for Node-RED Worldmap
+ - v2.13.1 - 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 9781980..b8e4370 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "node-red-contrib-web-worldmap",
- "version": "2.13.0",
+ "version": "2.13.1",
"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 e1a2f77..67848ef 100644
--- a/worldmap/worldmap.js
+++ b/worldmap/worldmap.js
@@ -1565,6 +1565,18 @@ function setMarker(data) {
});
marker = L.marker(ll, {title:data.name, icon:myMarker, draggable:drag});
}
+ else if (data.icon === "mayflower") {
+ data.iconColor = data.iconColor || "white";
+ icon = '';
+ var svgmay = "data:image/svg+xml;base64," + btoa(icon);
+ myMarker = L.divIcon({
+ className:"mayflowericon",
+ iconAnchor: [16, 32],
+ html:'',
+ });
+ marker = L.marker(ll, {title:data.name, icon:myMarker, draggable:drag});
+ }
else if (data.icon === "locate") {
data.iconColor = data.iconColor || "cyan";
icon = '