Skip to content

Commit

Permalink
Pin the Google Maps API version to v3.47. (#1681)
Browse files Browse the repository at this point in the history
See this piece of documentation: https://developers.google.com/maps/documentation/javascript/browsersupport.
Version 3.47 of the Maps Javascript API will be the last version to support IE11.

TEST=manual

Saw v3.47 of the API being used. Saw Google Maps appear on Universal as expected.
  • Loading branch information
tmeyer2115 committed Mar 10, 2022
1 parent ddd8172 commit e9a87a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/components/map/providers/googlemapprovider.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export default class GoogleMapProvider extends MapProvider {
onLoad();
},
async: true,
src: `https://maps.googleapis.com/maps/api/js?${self.generateCredentials()}&language=${self._language}`
src: `https://maps.googleapis.com/maps/api/js?${self.generateCredentials()}&language=${self._language}&v=3.47`
});

DOM.append('body', script);
Expand Down

0 comments on commit e9a87a7

Please sign in to comment.