Merged in develop (pull request #46)
MAPG-63 query only outdoor panos from StreetViewService
This commit is contained in:
commit
7037bad313
@ -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