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
|
@ -16,7 +16,6 @@ export default class NoElementsInViewDetector {
|
|||
const minZoom = Math.min(
|
||||
...themeViewState.layout.layers
|
||||
.filter((l) => Constants.priviliged_layers.indexOf(<any>l.id) < 0)
|
||||
.filter((l) => !l.id.startsWith("note_import"))
|
||||
.map((l) => l.minzoom)
|
||||
)
|
||||
const mapProperties = themeViewState.mapProperties
|
||||
|
|
|
@ -24,8 +24,7 @@ export class SummaryTileSourceRewriter implements FeatureSource {
|
|||
) {
|
||||
this.filteredLayers = Array.from(filteredLayers.values()).filter(
|
||||
(l) =>
|
||||
Constants.priviliged_layers.indexOf(<any>l.layerDef.id) < 0 &&
|
||||
!l.layerDef.id.startsWith("note_import")
|
||||
Constants.priviliged_layers.indexOf(<any>l.layerDef.id) < 0
|
||||
)
|
||||
this._summarySource = summarySource
|
||||
filteredLayers.forEach((v) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue