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] 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); },