brandLogoUri always returns as http scheme

PeterTownsend-7781 21 Reputation points
2023-10-18T22:29:18.2833333+00:00

Despite passing uriScheme=https to the Bing maps get imagery endpoint (https://learn.microsoft.com/en-us/bingmaps/rest-services/imagery/get-imagery-metadata),,"learn.microsoft.com") the brandLogoUri in the result's metadata is an http url (http://dev.virtualearth.net/Branding/logo_powered_by.png).

Could you either return https or respect the uriScheme parameter? This causes a superfluous warning in the chrome console and maybe one day chrome will start blocking it automatically.

Azure Maps
Azure Maps
An Azure service that provides geospatial APIs to add maps, spatial analytics, and mobility solutions to apps.
826 questions
0 comments No comments
{count} votes

Accepted answer
  1. rbrundritt 20,751 Reputation points Microsoft Employee Moderator
    2023-10-18T23:19:17.7533333+00:00

    The "brandLogoUri" property is not a documented feature of that service. It is included in the response but is not expected to be used. Other than showing up in example responses, you won't see it listed in resource field tables. https://learn.microsoft.com/en-us/bingmaps/rest-services/imagery/imagery-metadata

    I've never seen anyone try and use that property before. I believe it is only there for legacy reasons and is not expected to be used. If you really want to use it, do a simple find and replace in your code.

    2 people found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.