[go: nahoru, domu]

Skip to content

Commit

Permalink
Add map-id
Browse files Browse the repository at this point in the history
  • Loading branch information
arriolac committed Mar 18, 2022
1 parent 2be4670 commit 0568ab2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion solution/src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ loader.load().then(() => {
function displayMap() {
const mapOptions = {
center: { lat: -33.860664, lng: 151.208138 },
zoom: 14
zoom: 14,
mapId: 'YOUR_MAP_ID'
};
const mapDiv = document.getElementById('map');
return new google.maps.Map(mapDiv, mapOptions);
Expand Down

0 comments on commit 0568ab2

Please sign in to comment.