Hide section in Azure Map

Hemant C 101 Reputation points
2020-10-27T05:46:05.19+00:00

Hello,

Have implemented Azure Maps, however, I am not able to hide the section as shown in the image attached.
I have tried the two below settings

showLogo: false,
showFeedbackLink: false,

but still, the highlighted section is visible.

Is there any other setting that can hide this section?

35283-azure-map-query.png

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

Accepted answer
  1. Hemant C 101 Reputation points
    2020-10-28T04:51:06.26+00:00

    Thanks for your reply.

    This is not due to any CSS. But It is a setting enableAccessibility which is by default true.

    By setting its value to false, this section is removed.

    1 person found this answer helpful.

2 additional answers

Sort by: Most helpful
  1. rbrundritt 15,386 Reputation points Microsoft Employee
    2020-10-28T01:11:26.02+00:00

    The section in red you are highlighting is not displayed generally, but is hidden text that powers the screen reader for accessibility. If it is being displayed in your app, there must be some CSS in your application that is making this visible.

    2 people found this answer helpful.
    0 comments No comments

  2. AshokPeddakotla-MSFT 27,966 Reputation points
    2020-10-27T10:55:00.217+00:00

    @Hemant C Welcome to Microsoft Q&A forum!

    Are you seeing the bottom area when you select any point in the maps? or by default?
    Please have a look at the similar issue discussed here for removing the bottom area by adding below piece of code.

    <style>  
              html, body {  
                  margin: 0;  
              }  
          
              #myMap {  
                  height: 100vh;  
                  width: 100vw;  
              }  
          </style>  
    

    Hope this helps. Kindly let us know if you have further queries.

    If an answer is helpful, please "Accept answer" or "Up-Vote" for the same which might be beneficial to other community members reading this thread.

    0 comments No comments