Skip to content

Type Alias: GeoJsonInput ​

ts
type GeoJsonInput = 
  | FeatureCollection
  | Feature
  | Geometry
  | Feature[]
  | Geometry[];

Defined in: types.ts:112

Anything the writer accepts: a collection, a lone feature, a bare geometry, or an array of either.

Released under the MIT License.