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
19 lines
274 B
TypeScript
19 lines
274 B
TypeScript
export interface IEntityWithTimestamp {
|
|
updatedTime: Date;
|
|
}
|
|
|
|
export interface IEntityWithId {
|
|
id: string;
|
|
}
|
|
|
|
export interface ICoordinates {
|
|
latitude: number;
|
|
longitude: number;
|
|
}
|
|
|
|
export interface IRegion {
|
|
topLeft: ICoordinates;
|
|
bottomRight: ICoordinates;
|
|
}
|
|
|