From 6bcba757cd7f885556ed6ec5bfa07a2bfd8c1546 Mon Sep 17 00:00:00 2001 From: Tony Lam <63186670+lamtonylam@users.noreply.github.com> Date: Tue, 5 Jan 2021 21:09:58 +0200 Subject: [PATCH] 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 --- wowchemy/assets/js/wowchemy.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/wowchemy/assets/js/wowchemy.js b/wowchemy/assets/js/wowchemy.js index c969ee08..3f90286f 100644 --- a/wowchemy/assets/js/wowchemy.js +++ b/wowchemy/assets/js/wowchemy.js @@ -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({