• JMap.Event.Geocoding.on.success

    This event is triggered when a geocoding search has been completed.

    Parameters

    • listenerId: string

      Your listener id (must be unique)

    • fn: ((params) => void)

      Your listener function

    Returns void

    Example

    // log a message in the console once the geocoding search has been completed
    JMap.Event.Geocoding.on.success(
    "custom-geocoding-success",
    params => console.log("A geocoding search has been completed", params.results)
    )