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
|
// No need to download! - the layer is disabled
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
console.log("???", locationControl, flayer.layerDef)
|
|
||||||
if(locationControl.data.zoom < flayer.layerDef.minzoom){
|
if(locationControl.data.zoom < flayer.layerDef.minzoom){
|
||||||
console.log("Not downloading ", needed, "not sufficiently zoomed")
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -200,4 +199,4 @@ export default class GeoJsonSource implements FeatureSource {
|
||||||
}).fail(msg => self.onFail(msg, url))
|
}).fail(msg => self.onFail(msg, url))
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -58,7 +58,7 @@
|
||||||
{
|
{
|
||||||
"builtin": "sport_pitch",
|
"builtin": "sport_pitch",
|
||||||
"override": {
|
"override": {
|
||||||
"minzoom": 14
|
"minzoom": 15
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue