• JMap.Extension.register

    Register your own extension.

    Parameters

    Returns void

    Throws

    Error if a parameter is not correct

    Example

    JMap.Extension.register({
    id: "MyExtension", // Unique id
    initFn: () => {
    // here you can start your UI component if needed
    console.log("JMap is started and my extension has been successfuly started")
    }
    })