Merge pull request #1027 from Gecka-Apps/fix-maps_noapi
Fix service: Google Maps NoAPI (maps_noapi)
This commit is contained in:
commit
e492c7053d
|
|
@ -5046,7 +5046,7 @@ tarteaucitron.services.maps_noapi = {
|
||||||
var id = x.getAttribute("id"),
|
var id = x.getAttribute("id"),
|
||||||
width = x.getAttribute("width"),
|
width = x.getAttribute("width"),
|
||||||
height = x.getAttribute("height")
|
height = x.getAttribute("height")
|
||||||
var widgetURL = "https://google.com/maps/embed?pb=" + id;
|
var widgetURL = "https://www.google.com/maps/embed?pb=" + id;
|
||||||
return "<iframe width=\"" + width + "\" height=\"" + height + "\" src=\"" + widgetURL + "\" style=\"border:0;\" allowfullscreen=\"\" loading=\"lazy\"></iframe>";
|
return "<iframe width=\"" + width + "\" height=\"" + height + "\" src=\"" + widgetURL + "\" style=\"border:0;\" allowfullscreen=\"\" loading=\"lazy\"></iframe>";
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue