sdrweb: fix map errors
This commit is contained in:
parent
f410efaa1b
commit
e3886c1b7c
|
@ -126,6 +126,7 @@
|
|||
if (Planes[plane.hex]) {
|
||||
var myplane = Planes[plane.hex];
|
||||
marker = myplane.marker;
|
||||
if (plane.lat && plane.lon)
|
||||
marker.setLatLng([plane.lat,plane.lon]);
|
||||
marker.setIcon(getIconForPlane(plane));
|
||||
myplane.altitude = plane.altitude;
|
||||
|
|
Loading…
Reference in New Issue
Block a user