MAPG-63 query only outdoor panos from StreetViewService

This commit is contained in:
Bence Pőcze 2020-05-24 17:59:26 +02:00
parent 4dbb8a7cba
commit 46abd1fb63

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) {