UNPKG

@mapbox/geojson-types

Version:

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

37 lines (35 loc) 402 B
// @flow import type { GeoJSONGeometry } from '../../index'; const geojson: GeoJSONGeometry = { "type": "Polygon", "coordinates": [ [ [ 100, 0, 1 ], [ 101, 0 ], [ 101, 1, 1 ], [ 100, 1, 1 ], [ 100, 0, 1 ] ] ] }