• JMap.Event.MapContext.on.initialized

    This event is triggered when the map-context service is initialized.

    Parameters

    • listenerId: string

      Your listener id (must be unique)

    • fn: ((params) => void)

      Your listener function

    Returns void

    Example

    // Triggered when map context is initialized
    JMap.Event.MapContext.on.initialized("custom-initialized-listener", params =>
    console.info("Map context service initialized", params)
    )