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