node-red-contrib-web-worldmap 2.38.2 → 2.38.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/README.md +1 -1
- package/package.json +1 -1
- package/worldmap/worldmap.js +1 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
### Change Log for Node-RED Worldmap
|
|
2
2
|
|
|
3
|
-
- v2.38.
|
|
3
|
+
- v2.38.3 - Better fix for geojson multipoint icons.
|
|
4
4
|
- v2.38.1 - Fix for geojson multipoint icons.
|
|
5
5
|
- v2.38.0 - Return client headers as part of connect message.
|
|
6
6
|
- v2.37.4 - Fix sessionid specific data not to be sent on reload/refresh
|
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ Feel free to [ {
|
|
|
2853
2853
|
className: "natoicon",
|
|
2854
2854
|
});
|
|
2855
2855
|
}
|
|
2856
|
-
else if (feature.properties["marker-symbol"].substr(0,3) === "fa-") {
|
|
2856
|
+
else if (feature.properties.hasOwnProperty("marker-symbol") && feature.properties["marker-symbol"].substr(0,3) === "fa-") {
|
|
2857
2857
|
try {
|
|
2858
2858
|
var col = feature.properties["marker-color"] ?? "#910000";
|
|
2859
2859
|
var imod = "";
|
|
@@ -2896,7 +2896,6 @@ function doGeojson(n,g,l,o) {
|
|
|
2896
2896
|
if ( tx !== "{}") {
|
|
2897
2897
|
l.bindPopup('<pre style="overflow-x: scroll">'+tx.replace(/[\{\}"]/g,'')+'</pre>');
|
|
2898
2898
|
}
|
|
2899
|
-
console.log("TX",tx.replace(/[\{\}"]/g,''))
|
|
2900
2899
|
}
|
|
2901
2900
|
if (o && o.hasOwnProperty("clickable") && o.clickable === true) {
|
|
2902
2901
|
l.on('click', function (e) {
|