• JMap.Event.Map.on.pitchEnd

    This event is triggered when pitch on the map end.

    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 on the map end, it will display a message in the console
    JMap.Event.Map.on.pitch(
    "custom-map-pitch-end",
    args => console.log(`The map is pitching (pitch="${args.pitch})")`
    )