Hi there
I’m trying to find my current location in an iframe on our website. In Wix the geolocation does not work but when I try the same code in codepen the it just works …
Anybody any idea what the issue could be?
Hi there
I’m trying to find my current location in an iframe on our website. In Wix the geolocation does not work but when I try the same code in codepen the it just works …
Anybody any idea what the issue could be?
the error that i get is: geolocation has been disabled in this document by permissions policy
does nobody know how to solve this?
Damn. Wix helpdesk also does not wat to help.
can somebody please give me a tip what the issue could be?
This is the link:
https://www.lifepowr.io/blank-2
Hi. I’m not sure what you are using as you have provided no code. If the code you are using in your iFrame is trying to get to the wix site via the parent, this will not work for you.
Here is an example using leaflet to get the location on map click and send it to your page code, which may help you understand the interaction better.