Fix addtoheatmap - to close #192
This commit is contained in:
parent
fac1876000
commit
5010c596a2
@ -1,5 +1,6 @@
|
||||
### Change Log for Node-RED Worldmap
|
||||
|
||||
- v2.23.5 - Fix addtoheatmap. Issue #192
|
||||
- v2.23.4 - Fix opacity of area borders
|
||||
- v2.23.3 - Fix initial load of maps
|
||||
- v2.23.2 - Add convex-hull example
|
||||
|
@ -11,6 +11,7 @@ map web page for plotting "things" on.
|
||||
|
||||
### Updates
|
||||
|
||||
- v2.23.5 - Fix addtoheatmap. Issue #192
|
||||
- v2.23.4 - Fix opacity of area borders
|
||||
- v2.23.3 - Fix initial load of maps
|
||||
- v2.23.2 - Add convex-hull example
|
||||
|
@ -1997,7 +1997,7 @@ function setMarker(data) {
|
||||
fb.action = "click";
|
||||
ws.send(JSON.stringify(fb));
|
||||
});
|
||||
if (heat && ((data.addtoheatmap !== "false") || (!data.hasOwnProperty("addtoheatmap")))) { // Added to give ability to control if points from active layer contribute to heatmap
|
||||
if (heat && ((data.addtoheatmap != false) || (!data.hasOwnProperty("addtoheatmap")))) { // Added to give ability to control if points from active layer contribute to heatmap
|
||||
if (heatAll || map.hasLayer(layers[lay])) { heat.addLatLng(lli); }
|
||||
}
|
||||
markers[data.name] = marker;
|
||||
|
Loading…
Reference in New Issue
Block a user