refactor map selection, and now location selection & cancellation works (but not saving yet)

This commit is contained in:
2023-08-31 18:58:34 -06:00
parent 8ee610c1bc
commit 26d9b134c7
3 changed files with 194 additions and 26 deletions

View File

@@ -1,8 +1,8 @@
export type BoundingBox = {
eastLong: number;
maxLat: number;
maxLong: number;
minLat: number;
minLong: number;
westLong: number;
};
// a singleton
@@ -14,7 +14,10 @@ export type Settings = {
firstName?: string;
lastName?: string;
lastViewedClaimId?: string;
searchBoxes?: Array<BoundingBox>;
searchBoxes?: Array<{
name: string;
bbox: BoundingBox;
}>;
showContactGivesInline?: boolean;
};