Your listener id (must be unique for all user events)
Your listener function
// Each time a layer feature geometry has been changed, this method is processed
JMap.Event.Feature.on.geometryChanged(
"custom-feature-geometry-changed",
params => console.info(
`For layer id="${params.layerId}", feature id="${params.updatedFeature.id}" geometry has been changed`,
params.updatedFeature
)
)
JMap.Event.Feature.on.geometryChanged
This event is triggered when a feature geometry has been changed.