forked from MapComplete/MapComplete
chore: automatic fix some linting errors, update lint config
This commit is contained in:
parent
04c8ccb0d2
commit
804280511b
26 changed files with 47 additions and 45 deletions
|
|
@ -25,7 +25,7 @@ export default class FeatureSourceMerger<Src extends FeatureSource = FeatureSour
|
|||
this.featuresById = this._featuresById
|
||||
const self = this
|
||||
sources = Utils.NoNull(sources)
|
||||
for (let source of sources) {
|
||||
for (const source of sources) {
|
||||
source.features.addCallback(() => {
|
||||
self.addDataFromSources(sources)
|
||||
})
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ export class PolygonSourceMerger extends UpdatableDynamicTileSource<
|
|||
const zooms: Map<string, number> = new Map()
|
||||
|
||||
for (const source of sources) {
|
||||
let z = source.z
|
||||
const z = source.z
|
||||
for (const f of source.features.data) {
|
||||
const id = f.properties.id
|
||||
if (id.endsWith("146616907")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue