mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 19:15:16 +02:00
feat(js): migrate Google Maps options to be compatible with latest API
Google have deprecated and changed options in the API. See https://developers.google.com/maps/documentation/javascript/reference/map See #2075
This commit is contained in:
parent
ccd2ab1ce2
commit
6bcba757cd
1 changed files with 1 additions and 4 deletions
|
@ -263,12 +263,9 @@ function initMap() {
|
||||||
style: 'SMALL',
|
style: 'SMALL',
|
||||||
position: 'TOP_LEFT'
|
position: 'TOP_LEFT'
|
||||||
},
|
},
|
||||||
panControl: false,
|
|
||||||
streetViewControl: false,
|
streetViewControl: false,
|
||||||
mapTypeControl: false,
|
mapTypeControl: false,
|
||||||
overviewMapControl: false,
|
gestureHandling: "cooperative",
|
||||||
scrollwheel: true,
|
|
||||||
draggable: true
|
|
||||||
});
|
});
|
||||||
|
|
||||||
map.addMarker({
|
map.addMarker({
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue