diff --git a/modules/services/streetside.js b/modules/services/streetside.js index dfa9073be..de6ac61fd 100644 --- a/modules/services/streetside.js +++ b/modules/services/streetside.js @@ -16,7 +16,7 @@ import { import { utilAesDecrypt, utilArrayUnion, utilQsString, utilRebind, utilStringQs, utilTiler, utilUniqueDomId } from '../util'; -const streetsideApi = 'https://dev.virtualearth.net/REST/v1/Imagery/MetaData/Streetside?mapArea={bbox}&key={key}&count={count}'; +const streetsideApi = 'https://dev.virtualearth.net/REST/v1/Imagery/MetaData/Streetside?mapArea={bbox}&key={key}&count={count}&uriScheme=https'; const maxResults = 500; const bubbleAppKey = utilAesDecrypt('5c875730b09c6b422433e807e1ff060b6536c791dbfffcffc4c6b18a1bdba1f14593d151adb50e19e1be1ab19aef813bf135d0f103475e5c724dec94389e45d0'); const pannellumViewerCSS = 'pannellum/pannellum.css'; @@ -123,8 +123,7 @@ function loadNextTilePage(which, url, tile) { loc: loc, key: bubbleId, imageUrl: bubble.imageUrl - .replace('{subdomain}', bubble.imageUrlSubdomains[0]) - .replace(/^http:/, 'https:'), // always use HTTPS (see #10797) + .replace('{subdomain}', bubble.imageUrlSubdomains[0]), ca: bubble.he || bubble.heading, captured_at: bubble.vintageEnd, captured_by: 'microsoft',