Search code examples
javascriptcssazuremapsazure-maps

Azure map remove default border / outline


I am using Azure maps Azure-Internet of Things-AzureMaps-Create a map

I want to remove the default black outline/border around the map. I looked for the same in azure maps documentation but didn't find any solution.


Solution

  • I am able to remove the black border/outline by using the following CSS.

    .mapboxgl-canvas {
        outline: none !important;
    }