reenabled line 195

This commit is contained in:
Andrews Leruth 2022-07-18 10:02:48 +02:00
parent f749259b76
commit 7e46aa8656

View file

@ -192,8 +192,7 @@ export default class LayerConfig extends WithContextLoader {
this.passAllFeatures = json.passAllFeatures ?? false;
this.minzoom = json.minzoom ?? 0;
if(json["minZoom"] !== undefined){
//throw "At "+context+": minzoom is written all lowercase"
// TODO: REENABLE
throw "At "+context+": minzoom is written all lowercase"
}
this.minzoomVisible = json.minzoomVisible ?? this.minzoom;
this.shownByDefault = json.shownByDefault ?? true;