Allow geolocation from iframe embeds, fix #898

This commit is contained in:
David Larlet 2023-05-12 14:12:56 -04:00
parent db2da8f407
commit d859b3f153

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) {