forked from MapComplete/MapComplete
parent
5be4b9d1fb
commit
9a43da6f8a
7 changed files with 84 additions and 20 deletions
|
@ -56,6 +56,10 @@ export default class DetermineLayout {
|
|||
}
|
||||
|
||||
private static async expandRemoteLayers(layoutConfig: LayoutConfigJson): Promise<LayoutConfigJson> {
|
||||
if(!layoutConfig.layers){
|
||||
// This is probably a layer in 'layer-only-mode'
|
||||
return layoutConfig
|
||||
}
|
||||
for (let i = 0; i < layoutConfig.layers.length; i++) {
|
||||
const l = layoutConfig.layers[i]
|
||||
if (typeof l !== "string") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue