CSS in atlas.min.css should be name-spaced

Kevin Flood 51 Reputation points
2021-01-27T10:38:48.987+00:00

Most of the CSS in https://atlas.microsoft.com/sdk/javascript/mapcontrol/2/atlas.min.css is name-spaced as mapbox, azure, or atlas but some of it isn't, e.g.:

.map-copyright {

.marker-container {

.popup-container {

.popup-close {

.popup-arrow {

.incident-popup-content {

font-face {
    font-family: standard;
    src: url(https://atlas.microsoft.com/styles/glyphs/standardfont.ttf)

.font-standard {
    font-family: standard

.top-left.subcontrol-container {

.hidden {

.traffic-legend {

The .hidden rule caused an issue for us and we'd to add a special-case rule to override it.

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

Accepted answer
  1. rbrundritt 20,836 Reputation points Microsoft Employee Moderator
    2021-01-27T17:30:48.693+00:00

    Thanks for pointing this out. Looks like half of the CSS classes are namespaced and half aren't. Will pass this on to the dev team.

    3 people found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Denise Chen 616 Reputation points Microsoft Employee
    2022-07-20T03:31:55.697+00:00

    Hi

    Sorry for the late response.
    We will get this done later, probably in Aug./Sep., will update back here.

    Denise

    1 person 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.