import { For, Show } from "solid-js"; export interface InspectableFeature { layerName: string; type: number; id: number | undefined; properties: { [key: string]: string | number | boolean }; } const intToGeomType = (n: number) => { if (n === 1) return "Point"; if (n === 2) return "LineString"; return "Polygon"; }; export const FeatureTable = (props: { features: InspectableFeature[] }) => { return (
| {key} | {typeof value === "boolean" ? JSON.stringify(value) : value.toString()} |