forked from MapComplete/MapComplete
Chore: housekeeping
This commit is contained in:
parent
cd9e03dd6f
commit
b300fffdc5
156 changed files with 4436 additions and 1318 deletions
|
|
@ -18,7 +18,7 @@ import { Store, UIEventSource } from "../../Logic/UIEventSource"
|
|||
import NearbyFeatureSource from "../../Logic/FeatureSource/Sources/NearbyFeatureSource"
|
||||
import {
|
||||
SummaryTileSource,
|
||||
SummaryTileSourceRewriter
|
||||
SummaryTileSourceRewriter,
|
||||
} from "../../Logic/FeatureSource/TiledFeatureSource/SummaryTileSource"
|
||||
import { ShowDataLayerOptions } from "../../UI/Map/ShowDataLayerOptions"
|
||||
|
||||
|
|
@ -94,10 +94,7 @@ export class WithSpecialLayers extends WithChangesState {
|
|||
const maxzoom = Math.min(...normalLayers.map((l) => l.minzoom))
|
||||
|
||||
const layers = this.theme.layers.filter(
|
||||
(l) =>
|
||||
!Constants.isPriviliged(l) &&
|
||||
l.source.geojsonSource === undefined &&
|
||||
l.doCount
|
||||
(l) => !Constants.isPriviliged(l) && l.source.geojsonSource === undefined && l.doCount
|
||||
)
|
||||
if (!Constants.SummaryServer || layers.length === 0) {
|
||||
return undefined
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue