Add example images to presets, fix these in bike_repair_station, add more repair_stand examples, fix fake svgs, wording updates
This commit is contained in:
parent
58cd866e54
commit
186b8a79ac
26 changed files with 171 additions and 190 deletions
|
@ -192,6 +192,13 @@ export interface LayerConfigJson {
|
|||
*/
|
||||
description?: string | any,
|
||||
|
||||
/**
|
||||
* Example images, which show real-life pictures of what such a feature might look like
|
||||
*
|
||||
* Type: image[]
|
||||
*/
|
||||
exampleImages?: string[]
|
||||
|
||||
/**
|
||||
* If set, the user will prompted to confirm the location before actually adding the data.
|
||||
* This will be with a 'drag crosshair'-method.
|
||||
|
|
|
@ -209,6 +209,7 @@ export default class LayerConfig extends WithContextLoader {
|
|||
tags: pr.tags.map((t) => TagUtils.SimpleTag(t)),
|
||||
description: Translations.T(pr.description, `${context}.presets[${i}].description`),
|
||||
preciseInput: preciseInput,
|
||||
exampleImages: pr.exampleImages
|
||||
}
|
||||
return config;
|
||||
});
|
||||
|
|
|
@ -11,6 +11,7 @@ export default interface PresetConfig {
|
|||
title: Translation,
|
||||
tags: Tag[],
|
||||
description?: Translation,
|
||||
exampleImages?: string[],
|
||||
/**
|
||||
* If precise input is set, then an extra map is shown in which the user can drag the map to the precise location
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue