Turn off Geo tag dynamically?

What would be the most elegant way to dynamically turn the Geo tag on/off: <dmx-geolocation> ?

There is no option in the module dynamic attribute settings.

Or are there ways to turn off any HTML element dynamically with exising Wappler components?

If you wrap it in a conditional region then it won’t render to the DOM when disabled.

Thanks for the suggestion @Hyperbytes, makes sense and I tried this, but placing the geo component into a div stops it from functioning.

What are you trying to achieve on your page?

I would like that users are able to switch on/off their location sharing with a button.