diff --git a/packages/base/src/mainview/mainview.tsx b/packages/base/src/mainview/mainview.tsx index 4102b540..9e18d40e 100644 --- a/packages/base/src/mainview/mainview.tsx +++ b/packages/base/src/mainview/mainview.tsx @@ -136,7 +136,7 @@ export class MainView extends React.Component { } switch (layer.type) { - case 'RasterLayer': + case 'RasterLayer': { const sourceId = layer.parameters?.source; const source = this.getSource(sourceId); @@ -165,6 +165,7 @@ export class MainView extends React.Component { minzoom: source.minZoom || 0, maxzoom: source.maxZoom || 24, }); + } } } }