.map2d3d { position: absolute; top: 0;//-12px; left: 0;//-12px; right: 0; bottom: 0; overflow: hidden; width: 100%;//calc( 100vw + 12px ); height: 100%;//calc( 100vh - 62px ); .markerLabel2 { color: #fff; position: absolute; pointer-events: none; word-break: keep-all; text-align: center; // white-space: nowrap; } .markerLabelNew { color: rgba(0, 0, 0, 0.8); padding: 0 4px; font-size: 12px; font-weight: 500; border-radius: 4px; position: absolute; pointer-events: none; //background-color: rgba(255, 255, 255, 0.3); word-break: keep-all; text-shadow: -0.8px -0.8px 0.3px white, 0 -0.8px 0.3px white, 0.8px -0.8px 0.3px white, 0.8px 0 0.3px white, 0.8px 0.8px 0.3px white, 0 0.8px 0.3px white, -0.8px 0.8px 0.3px white, -0.8px 0 0.3px white; } }