oops
This commit is contained in:
parent
4aa3403572
commit
d3259b7189
@ -1,5 +1,6 @@
|
||||
### Change Log for Node-RED Worldmap
|
||||
|
||||
- v2.42.1 - Remove extraneous debug logging, fix KMZ icons
|
||||
- v2.42.0 - Add handling for TAK type spots, waypoints, alerts, sensors. Better KML/KMZ handling.
|
||||
- v2.41.0 - Bump leaflet libs to latest stable (1.9.4)
|
||||
- v2.40.1 - Fix missing countries overlay when starting disconnected.
|
||||
|
@ -13,6 +13,7 @@ Feel free to [![](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%
|
||||
|
||||
### Updates
|
||||
|
||||
- v2.42.1 - Remove extraneous debug logging, fix KMZ icons
|
||||
- v2.42.0 - Add handling for TAK type spots, waypoints, alerts, sensors. Better KML/KMZ handling.
|
||||
- v2.41.0 - Bump leaflet libs to latest stable (1.9.4)
|
||||
- v2.40.1 - Fix missing countries overlay when starting disconnected.
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "node-red-contrib-web-worldmap",
|
||||
"version": "2.42.0",
|
||||
"version": "2.42.1",
|
||||
"description": "A Node-RED node to provide a web page of a world map for plotting things on.",
|
||||
"dependencies": {
|
||||
"@turf/bezier-spline": "~6.5.0",
|
||||
|
@ -246,7 +246,6 @@
|
||||
iconAnchor: [14, 14],
|
||||
})
|
||||
if (feature.properties && feature.properties.SymbolSpecification) {
|
||||
console.log("DING",feature.properties.SymbolSpecification)
|
||||
var mysymbol = new ms.Symbol(feature.properties.SymbolSpecification.split(':')[1]);
|
||||
mysymbol = mysymbol.setOptions({ size:20 });
|
||||
kicon = L.icon({
|
||||
@ -254,7 +253,7 @@
|
||||
iconAnchor: [mysymbol.getAnchor().x, mysymbol.getAnchor().y],
|
||||
});
|
||||
}
|
||||
if (kicon.iconUrl === undefined) { // No icon found so just use default marker.
|
||||
if (kicon.options.iconUrl === undefined) { // No icon found so just use default marker.
|
||||
return L.marker(latlng);
|
||||
}
|
||||
else {
|
||||
|
@ -2651,7 +2651,6 @@ function doCommand(cmd) {
|
||||
});
|
||||
let arr;
|
||||
if (cmd.map.hasOwnProperty("kmz")) {
|
||||
console.log("KMZ",typeof cmd.map.kmz)
|
||||
if (typeof cmd.map.kmz === "string") {
|
||||
arr = new Uint8Array(cmd.map.kmz.length);
|
||||
for (let i=0; i<cmd.map.kmz.length; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user