Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bing Streetside shows white box #9230

Closed
boothym opened this issue Aug 3, 2022 · 8 comments
Closed

Bing Streetside shows white box #9230

boothym opened this issue Aug 3, 2022 · 8 comments
Labels
bug A bug - let's fix this! streetlevel An issue with streetlevel photos
Milestone

Comments

@boothym
Copy link
Contributor

boothym commented Aug 3, 2022

Recently Bing Streetside has been showing a white box when you click on one of the blue dots. The following error is in the console (the second error only appeared when I ticked the high resolution box). If I click on the "view on bing maps" then I can see it on bing.com without any problems.
bingerror

@dobatovkin
Copy link

I'm having the same problem. Noticed that it affects mainly new (2019-2021) pictures and doesn't affect old ones (2014-2015).
Screenshot 2022-08-17 at 14 36 56
Screenshot 2022-08-17 at 14 37 45

@DujaOSM
Copy link

DujaOSM commented Aug 17, 2022

It might be caused by a different Firefox extension, check out #9211.

@boothym
Copy link
Contributor Author

boothym commented Aug 17, 2022

@DujaOSM I'm using Chrome so...

@AnonymousAlligatorOSM
Copy link

I'm getting this error in the console:

image

Which looks like it's referring to this line of code:

let canvas = document.getElementById('ideditor-canvas' + data[0].imgInfo.face);

@1ec5
Copy link
Collaborator

1ec5 commented Oct 21, 2022

Which looks like it's referring to this line of code:

Thanks for pinpointing the error. This is the callback for a request to https://dev.virtualearth.net/mapcontrol/HumanScaleServices/GetBubbles.ashx . All the items in data look like this:

{
  "data": {
    "face": "01",
    "url": "https://t.ssl.ak.tiles.virtualearth.net/tiles/hs1003022022233211010.jpg?g=6338&n=z",
    "x": 0,
    "y": 0
  },
  "status": "error"
}

Each of these image URLs returns HTTP 200 with an empty response body.

As microsoft/MicrosoftStreetsidePlugin#8 shows, this issue is not specific to any extension or browser, but it is limited to the newer images that Microsoft has sourced from TomTom.

This article from the other day documents an official API for getting Streetside images and metadata. This support answer confirms that the “bubble” API endpoint we’re hitting is unsupported:

const bubbleApi = 'https://dev.virtualearth.net/mapcontrol/HumanScaleServices/GetBubbles.ashx?';

@boothym
Copy link
Contributor Author

boothym commented Feb 1, 2023

There's been changes made in RapiD by @bhousel to apparently fix this issue: facebook/Rapid@602cb77 - can the same be done for iD?

@tyrasd
Copy link
Member

tyrasd commented Apr 4, 2023

I've applied the workaround used in RapiD… It's not really a good solution, because we should actually replace the undocumented API calls with Bing streetview's v8 API (see #8747 (comment)). But it seems to do the job for now.

@1ec5
Copy link
Collaborator

1ec5 commented Jul 6, 2023

406c1a0 works, but it does no good without a release (#9729). Over the past several months, I’ve had to show scores of new mappers how to work around this bug (or switch to Rapid) just to be able to contribute productively in an urban area where Mapillary and KartaView have insufficient side-facing coverage.

@nickrsan nickrsan added this to the 2.26 milestone Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug - let's fix this! streetlevel An issue with streetlevel photos
Projects
None yet
Development

No branches or pull requests

7 participants