I cant zoom/pan to a IGeometry Object from a FeatureDataRecord. I'm using following function for this.
zoomTo = (geom: IGeometry) => {
if (this.jimuMapView) {
this.jimuMapView.view.goTo(geom).catch(function (error) {
if (error.name != "AbortError") {
console.error(error);
}
});
}
}
There's no error but the view doesn't move to the Geometry...