Set appropiate log levels
All checks were successful
FarmMaps.Develop/FarmMapsLib/develop This commit looks good

This commit is contained in:
Willem Dantuma
2019-11-06 09:08:42 +01:00
parent 9ebce8e0bb
commit 6ba1d39d31
8 changed files with 8 additions and 14 deletions

View File

@@ -268,7 +268,7 @@ export function reducer(state = initialState, action: mapActions.Actions | commo
}
var selectedBaseLayer: IItemLayer = null;
var mapState = tassign(state.mapState);
console.log(`Base layerload: ${mapState.baseLayerCode}`)
console.debug(`Base layerload: ${mapState.baseLayerCode}`)
if (baseLayers.length > 0 && mapState.baseLayerCode != "") {
selectedBaseLayer = baseLayers.filter(layer => layer.item.code === mapState.baseLayerCode)[0];
selectedBaseLayer.visible = true;