Remove console.log, tweaks to zoomlevels
This commit is contained in:
parent
f4dacab9ef
commit
d2fa20ee91
2 changed files with 3 additions and 4 deletions
|
@ -77,9 +77,8 @@ export default class GeoJsonSource implements FeatureSource {
|
|||
// No need to download! - the layer is disabled
|
||||
return;
|
||||
}
|
||||
console.log("???", locationControl, flayer.layerDef)
|
||||
|
||||
if(locationControl.data.zoom < flayer.layerDef.minzoom){
|
||||
console.log("Not downloading ", needed, "not sufficiently zoomed")
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -200,4 +199,4 @@ export default class GeoJsonSource implements FeatureSource {
|
|||
}).fail(msg => self.onFail(msg, url))
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
{
|
||||
"builtin": "sport_pitch",
|
||||
"override": {
|
||||
"minzoom": 14
|
||||
"minzoom": 15
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue