Optimalizace planovace, ikony pro letiste

This commit is contained in:
Michal Kváček
2024-05-27 22:31:06 +02:00
parent 97d1787642
commit 32ff47a3a7
8 changed files with 184 additions and 86 deletions
+2 -2
View File
@@ -52,7 +52,7 @@ export const useFlightPlanObjects = () => {
}
}
const infoWindowObject = ({active, position, marker, poi, airport, reportingPoint, airspaces}) => {
const infoWindowObject = ({active, position, marker, poi, airport, reportingPoint, airspaces, isInTrack}) => {
if (!position) position = {};
if (!position.lat) position.lat = 0;
if (!position.lng) position.lng = 0;
@@ -83,7 +83,7 @@ export const useFlightPlanObjects = () => {
position.lng = poi.gpsLongitude;
}
return {title, active, position, airspaces, poi, marker, airport, reportingPoint};
return {title, active, position, airspaces, poi, marker, airport, reportingPoint, isInTrack};
};
return {markerObject, googleMapsMarkerObject, googleMapsCustomMarkerObject, infoWindowObject, editableNameTypes}