Your listener id (must be unique)
Your listener function
// log a message in the console once the geocoding search has been completed
JMap.Event.Geocoding.on.success(
"custom-geocoding-success",
params => console.log("A geocoding search has been completed", params.results)
)
JMap.Event.Geocoding.on.success
This event is triggered when a geocoding search has been completed.