diff --git a/gramps/plugins/webreport/person.py b/gramps/plugins/webreport/person.py index ed66b37bf..3f7cbc1dd 100644 --- a/gramps/plugins/webreport/person.py +++ b/gramps/plugins/webreport/person.py @@ -705,9 +705,9 @@ class PersonPages(BasePage): # add MapService specific javascript code if self.mapservice == "Google": - src_js = GOOGLE_MAPS + "api/js?sensor=false" + src_js = GOOGLE_MAPS + "api/js" if self.googlemapkey: - src_js += "&key=" + self.googlemapkey + src_js += "?key=" + self.googlemapkey head += Html("script", type="text/javascript", src=src_js, inline=True) else: diff --git a/gramps/plugins/webreport/place.py b/gramps/plugins/webreport/place.py index 6e5c64d03..501bfde4b 100644 --- a/gramps/plugins/webreport/place.py +++ b/gramps/plugins/webreport/place.py @@ -367,10 +367,10 @@ class PlacePages(BasePage): media="screen", rel="stylesheet") # add MapService specific javascript code - src_js = GOOGLE_MAPS + "api/js?sensor=false" + src_js = GOOGLE_MAPS + "api/js" if self.mapservice == "Google": if self.googlemapkey: - src_js += "&key=" + self.googlemapkey + src_js += "?key=" + self.googlemapkey head += Html("script", type="text/javascript", src=src_js, inline=True) else: