Your listener id (must be unique for all map events)
Your listener function
// When the map zoom end, it will display a message in the console
JMap.Event.Map.on.zoomEnd(
"custom-map-zoom-end",
args => console.log(`The zoom is finished (zoom="${args.zoom}")`)
)
JMap.Event.Map.on.zoomEnd
This event is triggered when zoom end.