forked from MapComplete/MapComplete
Themes: add toilet information in food and shops
This commit is contained in:
parent
92eca242ec
commit
3bc8eae6b1
9 changed files with 174 additions and 15 deletions
|
@ -410,7 +410,8 @@ export class ExpandTagRendering extends Conversion<
|
|||
name +
|
||||
" was not found.\n\tDid you mean one of " +
|
||||
candidates.join(", ") +
|
||||
"?\n(Hint: did you add a new label and are you trying to use this label at the same time? Run 'reset:layeroverview' first"
|
||||
"?\n(Hint: did you add a new label and are you trying to use this label at the same time? Run 'reset:layeroverview' first\n" +
|
||||
"HINT: are you overriding a `condition`? Check that the source condition has the format `condition: {and: [...]}`"
|
||||
)
|
||||
continue
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@ import NearbyImagesCollapsed from "../Image/NearbyImagesCollapsed.svelte"
|
|||
|
||||
class NearbyImageVis implements SpecialVisualizationSvelte {
|
||||
// Class must be in SpecialVisualisations due to weird cyclical import that breaks the tests
|
||||
args: [
|
||||
args = [
|
||||
{
|
||||
name: "mode",
|
||||
defaultValue: "closed",
|
||||
|
@ -26,7 +26,7 @@ class NearbyImageVis implements SpecialVisualizationSvelte {
|
|||
doc: "If 'readonly' or 'yes', will not show the 'link'-button",
|
||||
},
|
||||
]
|
||||
group: "images"
|
||||
group = "images"
|
||||
docs =
|
||||
"A component showing nearby images loaded from various online services such as Mapillary. In edit mode and when used on a feature, the user can select an image to add to the feature"
|
||||
funcName = "nearby_images"
|
||||
|
|
|
@ -97,7 +97,7 @@ export interface SpecialVisualization {
|
|||
defaultValue?: string
|
||||
doc: string
|
||||
required?: false | boolean,
|
||||
type?: "key"
|
||||
type?: "key" | string
|
||||
}[]
|
||||
readonly getLayerDependencies?: (argument: string[]) => string[]
|
||||
|
||||
|
@ -112,7 +112,7 @@ export interface SpecialVisualization {
|
|||
): BaseUIElement
|
||||
}
|
||||
|
||||
export interface SpecialVisualizationSvelte {
|
||||
export interface SpecialVisualizationSvelte extends SpecialVisualization {
|
||||
readonly funcName: string
|
||||
readonly docs: string
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue