From 46abd1fb63ecfef3c33a54c253a0995fb7aff521 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Sun, 24 May 2020 17:59:26 +0200 Subject: [PATCH] MAPG-63 query only outdoor panos from StreetViewService --- public/static/js/mapguesser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/static/js/mapguesser.js b/public/static/js/mapguesser.js index 52c73be..4ff40ae 100644 --- a/public/static/js/mapguesser.js +++ b/public/static/js/mapguesser.js @@ -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) {