Your listener id (must be unique for all map events)
Your listener function
// Each time the map start moving, will display a message in the console
JMap.Event.Map.on.moveStart(
"custom-map-move-start",
args => {
console.log(`The map start moving`, args.map, args.mapEvent)
// mapEvent is the Maplibre event
}
)
JMap.Event.Map.on.moveStart
This event is triggered when the map start moving (when user or library pan the map).