From bccd02ce30d7d9a44ec989037fa9dab4cd1a3b7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Wed, 20 May 2020 02:10:47 +0200 Subject: [PATCH] MAPG-27 reset pov before loading the next pano --- public/static/js/mapguesser.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/static/js/mapguesser.js b/public/static/js/mapguesser.js index 4f5dc35..3e29009 100644 --- a/public/static/js/mapguesser.js +++ b/public/static/js/mapguesser.js @@ -162,6 +162,7 @@ function loadPano(data, status) { return; } + panorama.setPov({heading: 0, pitch: 0, zoom: 1}); panorama.setPano(data.location.pano); }