Fix AW-1355
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good Details

2022.01
Willem Dantuma 2020-09-29 14:56:23 +02:00
parent 8e55308df9
commit f9934ccf27
1 changed files with 3 additions and 1 deletions

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;
}));