Merged in feature/MAPG-63-show-only-outdoor-panos (pull request #45)

MAPG-63 query only outdoor panos from StreetViewService
This commit is contained in:
Bence Pőcze 2020-05-24 16:02:34 +00:00
commit a36428f54d

View File

@ -121,7 +121,7 @@
loadPositionInfo: function (position) {
var sv = new google.maps.StreetViewService();
sv.getPanorama({ location: position, preference: google.maps.StreetViewPreference.NEAREST }, Core.loadPano);
sv.getPanorama({ location: position, preference: google.maps.StreetViewPreference.NEAREST, source: google.maps.StreetViewSource.OUTDOOR }, Core.loadPano);
},
loadPano: function (data, status) {