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