fix missing http icons (bad spelling)

This commit is contained in:
Dave Conway-Jones 2020-07-02 09:03:35 +01:00
parent df1d70c262
commit fa132af571
No known key found for this signature in database
GPG Key ID: 302A6725C594817F
4 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
### Change Log for Node-RED Worldmap
- v2.3.14 - Add heading to default addMarker, allow custom http icon size.
- v2.3.15 - Add heading to default addMarker, allow custom http icon size.
- v2.3.13 - Fix geoson feature properties fill color, and better marker handling
- v2.3.11 - Better editing of drawing layer, add OpenTopoMap, and better Esri satellite
- v2.3.10 - Improve geojson layer and name handling.

View File

@ -11,7 +11,7 @@ map web page for plotting "things" on.
### Updates
- v2.3.14 - Add heading to default addMarker, allow custom http icon size.
- v2.3.15 - Add heading to default addMarker, allow custom http icon size.
- v2.3.13 - Fix geoson feature properties fill color, and better marker handling
- v2.3.11 - Better editing of drawing layer, add OpenTopoMap, and better Esri satellite
- v2.3.10 - Improve geojson layer and name handling.

View File

@ -1,6 +1,6 @@
{
"name": "node-red-contrib-web-worldmap",
"version": "2.3.14",
"version": "2.3.15",
"description": "A Node-RED node to provide a web page of a world map for plotting things on.",
"dependencies": {
"cgi": "0.3.1",

View File

@ -1398,7 +1398,7 @@ function setMarker(data) {
});
var dir = parseFloat(data.hdg || data.bearing || "0");
marker = L.marker(ll, {title:data.name, icon:myMarker, draggable:drag, rotationAngle:dir, rotationOrigin:"center"});
labelOffset = [iz/2-4,-4];
labelOffset = [sz/2-4,-4];
}
else if (data.icon.substr(0,3) === "fa-") {
var col = data.iconColor || "#910000";