Merged in feature/MAPG-38-layout-fixes-and-improvements (pull request #20)
Feature/MAPG-38 layout fixes and improvements
This commit is contained in:
commit
f04b0fa24a
@ -114,6 +114,8 @@ div.buttonContainer.bottom {
|
|||||||
#resultMap {
|
#resultMap {
|
||||||
height: 70%;
|
height: 70%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
border-top-left-radius: 3px;
|
||||||
|
border-top-right-radius: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#resultInfo {
|
#resultInfo {
|
||||||
|
@ -43,7 +43,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
Core.panorama.setVisible(true);
|
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);
|
Core.panorama.setPano(data.location.pano);
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -163,7 +164,8 @@
|
|||||||
Core.panorama = new google.maps.StreetViewPanorama(document.getElementById('panorama'), {
|
Core.panorama = new google.maps.StreetViewPanorama(document.getElementById('panorama'), {
|
||||||
disableDefaultUI: true,
|
disableDefaultUI: true,
|
||||||
linksControl: true,
|
linksControl: true,
|
||||||
showRoadLabels: false
|
showRoadLabels: false,
|
||||||
|
motionTracking: false
|
||||||
});
|
});
|
||||||
|
|
||||||
Core.panorama.addListener('position_changed', function () {
|
Core.panorama.addListener('position_changed', function () {
|
||||||
|
Loading…
Reference in New Issue
Block a user