I have a custom Mapbox map built in the page with the help of “Web browser”. It is a simple vanilla js map with a global variable MAP. I want to access this variable with buttons. So for example on button click call "MAP.setCenter() " etc.
Is this possible? Thanks