fix missing http icons (bad spelling)
This commit is contained in:
parent
df1d70c262
commit
fa132af571
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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",
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user