More cleanup

This commit is contained in:
Pieter Vander Vennet 2021-10-19 12:58:53 +02:00
parent 2c480eb9d8
commit 4a7cce762e
12 changed files with 366 additions and 27 deletions

View file

@ -118,18 +118,6 @@ export interface LayoutConfigJson {
* Default: overpassMaxZoom + 1
*/
osmApiTileSize?: number
/**
* A tagrendering depicts how to show some tags or how to show a question for it.
*
* These tagrenderings are applied to _all_ the loaded layers and are a way to reuse tagrenderings.
* Note that if multiple themes are loaded (e.g. via the personal theme)
* that these roamingRenderings are applied to the layers of the OTHER themes too!
*
* In order to prevent them to do too much damage, all the overpass-tags of the layers are taken and combined as OR.
* These tag renderings will only show up if the object matches this filter.
*/
roamingRenderings?: (TagRenderingConfigJson | string)[],
/**
* An override applied on all layers of the theme.

View file

@ -170,9 +170,4 @@ export interface TagRenderingConfigJson {
}[]
/**
* If set to true, this tagRendering will escape the current layer and attach itself to all the other layers too.
* However, it will _only_ be shown if it matches the overpass-tags of the layer it was originally defined in.
*/
roaming?: boolean
}