mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 01:02:58 +00:00
replace https workaround with uriScheme API param
See https://learn.microsoft.com/en-us/bingmaps/rest-services/imagery/get-imagery-metadata#template-parameters Addendum to #10798
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user