Merged in feature/MAPG-38-layout-fixes-and-improvements (pull request #20)

Feature/MAPG-38 layout fixes and improvements
This commit is contained in:
Bence Pőcze 2020-05-21 10:21:17 +00:00
commit f04b0fa24a
2 changed files with 6 additions and 2 deletions

View File

@ -114,6 +114,8 @@ div.buttonContainer.bottom {
#resultMap {
height: 70%;
width: 100%;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
}
#resultInfo {

View File

@ -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);
},
@ -163,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 () {