nidus-sync/ts/type/map.ts

17 lines
343 B
TypeScript
Raw Normal View History

import maplibregl from "maplibre-gl";
import type { Location } from "@/type/api";
export interface Camera {
location: Location;
zoom: number;
}
export type MoveEndEventInternal = maplibregl.MapLibreEvent<
| maplibregl.MapMouseEvent
| maplibregl.MapTouchEvent
| maplibregl.MapWheelEvent
| undefined
> & {
isInternalUpdate: boolean;
};