Skip to content

Commit 5b2bfb0

Browse files
authored
Merge pull request #25 from arriolac/chris/map_id
Add map-id
2 parents 2be4670 + 0568ab2 commit 5b2bfb0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

solution/src/app.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ loader.load().then(() => {
3434
function displayMap() {
3535
const mapOptions = {
3636
center: { lat: -33.860664, lng: 151.208138 },
37-
zoom: 14
37+
zoom: 14,
38+
mapId: 'YOUR_MAP_ID'
3839
};
3940
const mapDiv = document.getElementById('map');
4041
return new google.maps.Map(mapDiv, mapOptions);

0 commit comments

Comments
 (0)