Not showing the new copyright text in Azure Map Control

Frederic Goulet 26 Reputation points
2021-09-22T00:47:04.193+00:00

Since we have upgraded the azure-maps-control npm package to 2.1.5, there is a new copyright text that appears at the bottom right of the map. I could not find a property to hide it like for the Microsoft logo.

It there a way to not show this somewhat obtrusive text box on the map ?

Thanks

Azure Maps
Azure Maps
An Azure service that provides geospatial APIs to add maps, spatial analytics, and mobility solutions to apps.
836 questions
{count} vote

2 answers

Sort by: Most helpful
  1. Per Fahlen 126 Reputation points
    2021-09-23T09:54:03.827+00:00

    I am not a lawyer but I think you might be breaking license terms if you remove the data provider. However you can remove it with some javascript, or even better include it in some css

    document.querySelector('.azure-map-copyright').style.display = 'none';
    
    3 people found this answer helpful.
    0 comments No comments

  2. rbrundritt 20,921 Reputation points Microsoft Employee Moderator
    2023-06-16T19:07:10.7833333+00:00

    The copyright information must be displayed on the map as per the terms of use of Azure maps. Thus why there is no option to remove it. You can only remove the Microsoft logo and feedback button.

    2 people found this answer 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.