@Rene @ReneP
const extXY = new Extent({
xmin: topLeftXY[0],
xmax: bottomRightXY[0],
ymin: bottomRightXY[1],
ymax: topLeftXY[1],
spatialReference: {
wkid: 102100,
latestWkid: 3857,
},
});
//Not working
view.goTo({ target: extXY.extent.expand(1.33) }, { duration: 2000 });
//Working
view.extent = extXY.expand(1.33);