The extension
Error if a parameter is not correct
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")
}
})
JMap.Extension.register
Register your own extension.