This commit is contained in:
2026-07-15 18:33:33 +09:00
parent 6b1583103f
commit f533082537
201 changed files with 19776 additions and 563 deletions
@@ -163,3 +163,34 @@ export async function fetchSurfaceStatus(projectId: string): Promise<SurfaceStat
method: "GET",
});
}
export interface VWorldMeta {
x_min: number;
x_max: number;
y_min: number;
y_max: number;
width_meters: number;
height_meters: number;
center_x: number;
center_y: number;
lon_min: number;
lon_max: number;
lat_min: number;
lat_max: number;
}
export function getVWorldMapUrl(projectId: string, layerName: string): string {
return `${API_BASE_URL}/projects/${projectId}/vworld-map?layer_name=${layerName}`;
}
export async function fetchVWorldMeta(projectId: string, layerName: string): Promise<VWorldMeta> {
return requestJson<VWorldMeta>(`/projects/${projectId}/vworld-meta?layer_name=${layerName}`, {
method: "GET",
});
}
export async function fetchGisGeoJson(projectId: string, layer: string): Promise<any> {
return requestJson<any>(`/projects/${projectId}/geojson?layer=${encodeURIComponent(layer)}`, {
method: "GET",
});
}