1.3.0 • Published 8 months ago

@vpriem/geojson v1.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

geojson

GeoJSON TypeScript definitions exported as a package.

Exported from @types/geojson.

Install

yarn add @vpriem/geojson

Usage

import { Feature, Point } from '@vpriem/geojson';

const feature: Feature<Point> = {
    type: 'Feature',
    geometry: {
        type: 'Point',
        coordinates: [13.404954, 52.520008],
    },
};

License

MIT