Why does the location-button of umap does not work in the html-code of a website?

My umap shows a cycling-route und corresponding places nearby. I’ve witten a umap for that with all the needed functions includinga location-button. The Location-Button works properly, see

But if wie use the same link inside the website

the function of the location-button is blocked and shows an error-message (see picture)
Does anybody know what to do? How can wie fix it

It’s exactly what it says on the tin in the error message. The browser doesn’t send the location to the website because of its settings. Permissions can be selectively granted to some websites and aren’t the same for all of them.

I think you might be missing allow=“geolocation” in your iframe syntax? For me that is included by default when I get the iframe text from the share/embed options.

That may not be the only issue but I think you need that at a minimum.