Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
}
if (_isFunction(onFeatureCopy)) {
onFeatureCopy(evt);
}
if (_isFunction(onFeatureSelect)) {
onFeatureSelect(evt);
}
const copy = feat.clone();
copy.setStyle(this.getDigitizeStyleFunction(feat));
this._digitizeFeatures.push(copy);
AnimateUtil.moveFeature(
map,
digitizeLayer,
copy,
500,
50,
this.getDigitizeStyleFunction(feat)
);
}