More work on client conversion to binary data

This commit is contained in:
Pax1601
2023-06-23 17:32:38 +02:00
parent 916752301a
commit dd2e858db4
15 changed files with 597 additions and 432 deletions

View File

@@ -547,7 +547,7 @@ export class Map extends L.Map {
}
#panToUnit(unit: Unit) {
var unitPosition = new L.LatLng(unit.getFlightData().latitude, unit.getFlightData().longitude);
var unitPosition = new L.LatLng(unit.getData().position.lat, unit.getData().position.lng);
this.setView(unitPosition, this.getZoom(), { animate: false });
}