- minor big fixes
- default settings toggled -update camera zoom need to test
This commit is contained in:
@@ -158,3 +158,16 @@ export function getHotlistName(obj: HotlistMatches | undefined) {
|
||||
|
||||
export const getNPEDCategory = (r?: SightingType | null) =>
|
||||
r?.metadata?.npedJSON?.["NPED CATEGORY"] as "A" | "B" | "C" | "D" | undefined;
|
||||
|
||||
export const zoomMapping = (zoomLevel: number) => {
|
||||
switch (zoomLevel) {
|
||||
case 1:
|
||||
return "Far";
|
||||
case 2:
|
||||
return "Medium";
|
||||
case 4:
|
||||
return "Close";
|
||||
default:
|
||||
break;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user