Merge pull request #1087 from umap-project/898-iframe-geolocation

Allow geolocation from iframe embeds, fix #898
This commit is contained in:
David Larlet 2023-05-12 14:55:04 -04:00 committed by GitHub
commit 70c74455b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1231,7 +1231,7 @@ L.U.IframeExporter = L.Evented.extend({
this.dimensions.width +
'" height="' +
this.dimensions.height +
'" frameborder="0" allowfullscreen src="' +
'" frameborder="0" allowfullscreen allow="geolocation" src="' +
iframeUrl +
'"></iframe>'
if (this.options.includeFullScreenLink) {