forked from MapComplete/MapComplete
Add OsmFeature type
This commit is contained in:
parent
284951f5f7
commit
24f090c92f
7 changed files with 26 additions and 20 deletions
4
Models/OsmFeature.ts
Normal file
4
Models/OsmFeature.ts
Normal file
|
@ -0,0 +1,4 @@
|
|||
import {Feature, Geometry} from "@turf/turf";
|
||||
|
||||
export type OsmTags = Record<string, string> & {id: string}
|
||||
export type OsmFeature = Feature<Geometry, OsmTags>
|
Loading…
Add table
Add a link
Reference in a new issue