Skip to content

gi-nx


gi-nx / LensableGeometry

ts
type LensableGeometry = 
  | {
  coordinates: number[];
  type: "Point";
}
  | {
  coordinates: number[][];
  type: "MultiPoint";
}
  | {
  coordinates: number[][];
  type: "LineString";
}
  | {
  coordinates: number[][][];
  type: "MultiLineString";
}
  | {
  coordinates: number[][][];
  type: "Polygon";
}
  | {
  coordinates: number[][][][];
  type: "MultiPolygon";
};

Standard GeoJSON geometry