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 { diff --git a/public/static/js/mapguesser.js b/public/static/js/mapguesser.js index b45208a..d5da01b 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); }, @@ -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 () {