UNPKG
@mapbox/geojson-types
Version:
latest (1.0.2)
1.0.2
1.0.1
1.0.0
Flow type declarations for [GeoJSON](https://tools.ietf.org/html/rfc7946).
@mapbox/geojson-types
/
fixtures
/
valid
/
feature-collection.js.flow
23 lines
(20 loc)
•
343 B
Flow
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// @flow
import
type
{ GeoJSONFeatureCollection } from
'../../index'
;
const
collection: GeoJSONFeatureCollection = {
type
:
"FeatureCollection"
, features: [ {
type
:
"Feature"
, properties: {}, geometry: {
"type"
:
"Point"
,
"coordinates"
: [
100
,
0
] } } ] };