[solved] worldmap - button - redirect using window.location.foo

Why not just add the action to the button itself ? No need to send to the backend ?

Oh I thought about doing that using onclick and doing that but I have other logic outside of the map I want to forward the user to a url.

This all comes back to the camera system I created using worldmap. That way I can trigger the action as well.
I just wanted to make sure I was not missing a easy solution before diggin in the innards.
If its not possible I'll pull up your github repo and start reading and maybe code it in.

I figure it could work like i did with the dashboard https://discourse.nodered.org/t/howto-dashboard-button-link-to-url-with-no-ui-template-for-only-the-current-user-on-the-page/33210

The camera map