Help: Error when trying to add a SceneControlButton
Hello, I ran into an error when trying to add a SceneControlButton.
Code:
The button is added, but when clicked I get an error in the console:
I am at my wit's end. Any and all help would be appreciated.
3 Replies
Solution
created the “markers” layer and added it to the canvas?
also set as activeTool “marker” and your tool is called “create-marker”
Yeah. That did it. I am very much new to this, couldn't find any good ressources on this.
Thank you very much!