sdrweb: remove wrong iconAnchor from adsb map

This commit is contained in:
Astro 2021-11-09 20:13:27 +01:00
parent 4744eb9235
commit 7316d6ebb5
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@
selhtml = '';
}
he = '<img src="airplane.svg" width="' + Math.ceil(b * 64) + '" height="' + Math.ceil(b * 64) + '" style="transform: scale('+b+') rotate(-'+rotation+'deg);'+selhtml+'" title="' + plane.flight + ' (' + plane.hex + ')">';
var icon = L.divIcon({html: he, className: 'plane-icon', iconSize: [b*64,b*64], iconAnchor: [b*32,b*32]});
var icon = L.divIcon({html: he, className: 'plane-icon', iconSize: [b*64,b*64]});
return icon;
}