UNPKG

@mapbox/geojson-types

Version:

Flow type declarations for [GeoJSON](https://tools.ietf.org/html/rfc7946).

34 lines (32 loc) 450 B
// @flow import type { GeoJSONGeometry } from '../../index'; const geojson: GeoJSONGeometry = { "type": "GeometryCollection", "geometries": [ { "type": "Point", "coordinates": [ 100, 0, 3 ] }, { "type": "LineString", "coordinates": [ [ 101, 0, 5 ], [ 102, 1, 8 ] ] } ] }