forked from MapComplete/MapComplete
Refactoring: small styling issues
This commit is contained in:
parent
0e81b65363
commit
a4a3b8a5ad
7 changed files with 94 additions and 37 deletions
|
@ -30,6 +30,9 @@ export default class FeatureSourceMerger implements IndexedFeatureSource {
|
|||
}
|
||||
|
||||
public addSource(source: FeatureSource) {
|
||||
if(!source){
|
||||
return
|
||||
}
|
||||
this._sources.push(source)
|
||||
source.features.addCallbackAndRun(() => {
|
||||
this.addData(this._sources.map((s) => s.features.data))
|
||||
|
|
|
@ -71,7 +71,7 @@ export default class DynamicGeoJsonTileSource extends DynamicTileSource {
|
|||
if (!isWhiteListed) {
|
||||
console.debug(
|
||||
"Not downloading tile",
|
||||
...zxy,
|
||||
zxy,
|
||||
"as it is not on the whitelist"
|
||||
)
|
||||
return undefined
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue