From 3afadb506b0ca306419690ba0202087d86a37bea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Thu, 21 May 2020 12:17:18 +0200 Subject: [PATCH 1/3] MAPG-38 reset zoom in the documented way --- public/static/js/mapguesser.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/static/js/mapguesser.js b/public/static/js/mapguesser.js index b45208a..272d31d 100644 --- a/public/static/js/mapguesser.js +++ b/public/static/js/mapguesser.js @@ -43,7 +43,8 @@ } Core.panorama.setVisible(true); - Core.panorama.setPov({ heading: 0, pitch: 0, zoom: 0 }); + Core.panorama.setPov({ heading: 0, pitch: 0 }); + Core.panorama.setZoom(0); Core.panorama.setPano(data.location.pano); }, From cb000a58877bb784f53a18cf5097f579bd4efd07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Thu, 21 May 2020 12:17:53 +0200 Subject: [PATCH 2/3] MAPG-38 turn out motiontracking for the time being --- public/static/js/mapguesser.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/static/js/mapguesser.js b/public/static/js/mapguesser.js index 272d31d..d5da01b 100644 --- a/public/static/js/mapguesser.js +++ b/public/static/js/mapguesser.js @@ -164,7 +164,8 @@ Core.panorama = new google.maps.StreetViewPanorama(document.getElementById('panorama'), { disableDefaultUI: true, linksControl: true, - showRoadLabels: false + showRoadLabels: false, + motionTracking: false }); Core.panorama.addListener('position_changed', function () { From 521229fc4bfa28c5a616c9299789a35803049fd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Thu, 21 May 2020 12:18:17 +0200 Subject: [PATCH 3/3] MAPG-38 fix resultMap's border-radius --- public/static/css/mapguesser.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/static/css/mapguesser.css b/public/static/css/mapguesser.css index c93a739..39a7326 100644 --- a/public/static/css/mapguesser.css +++ b/public/static/css/mapguesser.css @@ -114,6 +114,8 @@ div.buttonContainer.bottom { #resultMap { height: 70%; width: 100%; + border-top-left-radius: 3px; + border-top-right-radius: 3px; } #resultInfo {