This commit is contained in:
taDuc
2026-04-20 23:27:38 +07:00
parent 2508172489
commit 3ca7098831
36 changed files with 1939 additions and 1695 deletions

View File

@@ -1,15 +1,9 @@
import { API_ENDPOINTS } from "@/api/config";
import { requestJson } from "@/api/http";
import { FeatureCollection } from "@/lib/useEditorState";
import type { GeometriesBBoxQuery } from "@/types/api";
import type { FeatureCollection } from "@/types/geo";
export type GeometriesBBoxQuery = {
minLng: number;
minLat: number;
maxLng: number;
maxLat: number;
time?: number;
entity_id?: string;
};
export type { GeometriesBBoxQuery } from "@/types/api";
function buildBBoxQueryString(params: GeometriesBBoxQuery): string {
const query = new URLSearchParams({