Merged in bugfix/MAPG-27-reset-pano-zoom-etc-after-loading-new-pano (pull request #7)

bugfix/MAPG-27-reset-pano-zoom-etc-after-loading-new-pano
This commit is contained in:
Bence Pőcze 2020-05-20 00:13:26 +00:00
commit 35c749bea4

View File

@ -162,6 +162,7 @@ function loadPano(data, status) {
return;
}
panorama.setPov({heading: 0, pitch: 0, zoom: 1});
panorama.setPano(data.location.pano);
}