2026-04-04 02:32:09 +00:00
|
|
|
import maplibregl from "maplibre-gl";
|
2026-04-09 17:21:35 +00:00
|
|
|
import type { Address, Location } from "@/type/api";
|
2026-04-04 02:32:09 +00:00
|
|
|
|
|
|
|
|
export interface Camera {
|
|
|
|
|
location: Location;
|
|
|
|
|
zoom: number;
|
|
|
|
|
}
|
2026-04-09 17:21:35 +00:00
|
|
|
export interface Locator {
|
|
|
|
|
address: Address;
|
|
|
|
|
location: Location;
|
|
|
|
|
}
|
2026-04-04 02:32:09 +00:00
|
|
|
export type MoveEndEventInternal = maplibregl.MapLibreEvent<
|
|
|
|
|
| maplibregl.MapMouseEvent
|
|
|
|
|
| maplibregl.MapTouchEvent
|
|
|
|
|
| maplibregl.MapWheelEvent
|
|
|
|
|
| undefined
|
|
|
|
|
> & {
|
|
|
|
|
isInternalUpdate: boolean;
|
|
|
|
|
};
|