Please how to I enable GPS inside an Iframe

I tried your code in Wix iframe, and it worked perfectly on my iPhone.
first time it asked for permission to access location and when I approved it, it showed the coordinates (I’ve added a few lines to show the results).