Your listener id (must be unique for all map events)
Your listener function
// Each time a map is created and ready, will display a message in the console
JMap.Event.Map.on.mapLoad(
"custom-map-load",
args => {
console.log(`The map is ready, map instance = `, args.map)
}
)
JMap.Event.Map.on.mapLoad
This event is triggered when the map is created and ready.