Fix AW-1355
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good

This commit is contained in:
Willem Dantuma 2020-09-29 14:56:23 +02:00
parent 8e55308df9
commit f9934ccf27

View File

@ -150,8 +150,10 @@ export class MapEffects {
for (let f of action.features) {
extend(extent, (f as Feature).getGeometry().getExtent());
}
if(action.features && action.features.length >0) {
actions.push(new mapActions.SetExtent(extent));
}
}
actions.push(new mapActions.SetExtent(extent));
}
return actions;
}));