[go: nahoru, domu]

Skip to content

Commit

Permalink
Merge pull request #25 from arriolac/chris/map_id
Browse files Browse the repository at this point in the history
Add map-id
  • Loading branch information
amuramoto committed Mar 18, 2022
2 parents 2be4670 + 0568ab2 commit 5b2bfb0
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 5b2bfb0

Please sign in to comment.