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:
Tony Lam 2021-01-05 21:09:58 +02:00 committed by GitHub
commit 6bcba757cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -263,12 +263,9 @@ function initMap() {
style: 'SMALL',
position: 'TOP_LEFT'
},
panControl: false,
streetViewControl: false,
mapTypeControl: false,
overviewMapControl: false,
scrollwheel: true,
draggable: true
gestureHandling: "cooperative",
});
map.addMarker({