MAPG-63 query only outdoor panos from StreetViewService
This commit is contained in:
parent
4dbb8a7cba
commit
46abd1fb63
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user