Change region to use top-left and bottom-right coordinates

Replace center+delta region representation with a bounding box defined
by topLeft and bottomRight coordinate pairs, which maps more directly
to the visible map area.

https://claude.ai/code/session_0162emnCi1KxW5FkTNn2ZrvH
This commit is contained in:
2026-03-23 22:05:57 +00:00
parent 946f8dd342
commit fe649c81eb
5 changed files with 18 additions and 24 deletions

View File

@@ -12,9 +12,7 @@ export interface ICoordinates {
}
export interface IRegion {
latitude: number;
longitude: number;
latitudeDelta: number;
longitudeDelta: number;
topLeft: ICoordinates;
bottomRight: ICoordinates;
}