forked from MapComplete/MapComplete
refactoring: split all the states
This commit is contained in:
parent
4d48b1cf2b
commit
8e2f04c0d0
32 changed files with 411 additions and 395 deletions
|
@ -132,7 +132,7 @@ function generateLayerUsage(layer: LayerConfig, layout: LayoutConfig): any[] {
|
|||
function generateTagInfoEntry(layout: LayoutConfig): any {
|
||||
const usedTags = []
|
||||
for (const layer of layout.layers) {
|
||||
if (Constants.priviliged_layers.indexOf(layer.id) >= 0) {
|
||||
if (layer.source === null) {
|
||||
continue
|
||||
}
|
||||
if (layer.source.geojsonSource !== undefined && layer.source.isOsmCacheLayer !== true) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue