sdrweb: remove wrong iconAnchor from adsb map
This commit is contained in:
parent
4744eb9235
commit
7316d6ebb5
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue