Merged in develop (pull request #46)

MAPG-63 query only outdoor panos from StreetViewService
This commit is contained in:
Bence Pőcze 2020-05-24 20:05:21 +00:00
commit 7037bad313

View File

@ -121,7 +121,7 @@
loadPositionInfo: function (position) { loadPositionInfo: function (position) {
var sv = new google.maps.StreetViewService(); 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) { loadPano: function (data, status) {