Merge branch 'develop' into feature/maproulette

This commit is contained in:
Robin van der Linde 2022-07-14 09:19:11 +02:00
commit 64288ec1b8
Signed by untrusted user: Robin-van-der-Linde
GPG key ID: 53956B3252478F0D
20 changed files with 402 additions and 241 deletions

4
Models/OsmFeature.ts Normal file
View 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>

View file

@ -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[]>