2026-04-04 02:32:09 +00:00
|
|
|
import maplibregl from "maplibre-gl";
|
2026-04-06 16:54:48 +00:00
|
|
|
import type { Location } from "@/type/api";
|
2026-04-04 02:32:09 +00:00
|
|
|
|
|
|
|
|
export interface Camera {
|
|
|
|
|
location: Location;
|
|
|
|
|
zoom: number;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type MoveEndEventInternal = maplibregl.MapLibreEvent<
|
|
|
|
|
| maplibregl.MapMouseEvent
|
|
|
|
|
| maplibregl.MapTouchEvent
|
|
|
|
|
| maplibregl.MapWheelEvent
|
|
|
|
|
| undefined
|
|
|
|
|
> & {
|
|
|
|
|
isInternalUpdate: boolean;
|
|
|
|
|
};
|