• JMap.Event.Map.on.pitchStart

    This event is triggered when pitch on the map start.

    Parameters

    • listenerId: string

      Your listener id (must be unique for all map events)

    • fn: ((params) => void)

      Your listener function

    Returns void

    Example

    // When the pitch of the map start, it will display a message in the console
    JMap.Event.Map.on.pitchStart(
    "custom-map-pitch-start",
    args => console.log(`The pitch is starting (pitch="${args.pitch})")`
    )