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