Add option to force loading of a layer, even if it is hidden + automatically set this flag is another layer depends on this layer

This commit is contained in:
Pieter Vander Vennet 2022-02-07 01:59:07 +01:00
parent ad2f7b2bd6
commit 0f95891a47
6 changed files with 28 additions and 7 deletions

View file

@ -111,6 +111,13 @@ export interface LayerConfigJson {
*/
isShown?: TagRenderingConfigJson;
/**
* Advanced option - might be set by the theme compiler
*
* If true, this data will _always_ be loaded, even if the theme is disabled
*/
forceLoad?: false | boolean
/**
* The minimum needed zoomlevel required before loading of the data start