forked from MapComplete/MapComplete
Merge branch 'develop' into feature/maproulette
This commit is contained in:
commit
64288ec1b8
20 changed files with 402 additions and 241 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>
|
|
@ -20,7 +20,7 @@ export interface Mapping {
|
|||
readonly ifnot?: TagsFilter,
|
||||
readonly then: TypedTranslation<object>,
|
||||
readonly icon: string,
|
||||
readonly iconClass: string
|
||||
readonly iconClass: string | "small" | "medium" | "large" | "small-height" | "medium-height" | "large-height",
|
||||
readonly hideInAnswer: boolean | TagsFilter
|
||||
readonly addExtraTags: Tag[],
|
||||
readonly searchTerms?: Record<string, string[]>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue