forked from MapComplete/MapComplete
Feat: remove 'noteImportLayer', they are not used enough for the big performance and maintenance impact they have
This commit is contained in:
parent
48dc03b1e6
commit
e35df654d7
10 changed files with 9 additions and 351 deletions
|
@ -737,11 +737,7 @@ export default class ThemeViewState implements SpecialVisualizationState {
|
|||
/**
|
||||
* MaxZoom for the summary layer
|
||||
*/
|
||||
const normalLayers = this.layout.layers.filter(
|
||||
(l) =>
|
||||
Constants.priviliged_layers.indexOf(<any>l.id) < 0 &&
|
||||
!l.id.startsWith("note_import"),
|
||||
)
|
||||
const normalLayers = this.layout.layers.filter(l => l.isNormal())
|
||||
|
||||
const maxzoom = Math.min(...normalLayers.map((l) => l.minzoom))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue