#map23DHolder { width: 100%; height: 100%; position: relative; } #map2DWrap { width: calc(50% - 10px); height: 100%; position: relative; left: 0px; top: 0px; background: #aaa; z-index: 2; } #map2DDiv { position: absolute; width: 100%; height: 100%; } #map3DWrap { width: 50%; height: 100%; position: relative; left: calc(50% - 10px); bottom: 100%; float: left; background: #bbb; padding: 0 0 0 10px; z-index: 1; } .show2DOnly #map2DWrap { width: 100%; height: 100%; } .show2DOnly #map3DWrap { width: 1px; height: 1px; /* right: -9999999px; overflow: hidden; */ display: none; } .show3DOnly #map3DWrap { width: 100%; height: 100%; bottom: 0; left: 0; padding: 0px; } .show3DOnly #map2DWrap { width: 1px; height: 1px; /* overflow: hidden; */ display: none; } #TimeLineContainer { position: absolute; bottom: 10px; left: 10px; width: 400px; z-index: 2222222; } #TimeLineContainer li { margin-top: 20px; text-decoration: none; } .measureDistance_tips, .measureArea_tips, .measureHeight_tips { position: absolute; top: -100px; left: -100px; width: 160; height: 20; background-color: #000000; color: #ffffff; text-indent: 10; z-index: 1000 } /*3D弹窗*/ #markerPopup { position: absolute; } #markerPopup a { color: #999 } #markerPopup a:hover { color: #0078A8 } /*23D重写的弹窗样式*/ .popup_html { position: relative; border: 1px solid #aaaaaa; border-radius: 4px; } .popup_html .popup-ct { background: rgba(9, 30, 41, 0.8); border-top-right-radius: 4px; border-top-left-radius: 4px; color: #fff } .popup_html .popup-lt { position: absolute; top: 0px; left: -20px; bottom: 19px; width: 20px; height: 100%; background-position: top left; } .popup_html .popup-lb { position: absolute; left: -20px; bottom: -19px; width: 42px; height: 19px; background-position: top left; } .popup_html .popup-rt { position: absolute; right: -8px; top: 0px; bottom: 19px; width: 8px; height: 100%; background-position: top right; } .popup_html .popup-rb { position: absolute; right: -8px; bottom: -19px; height: 19px; left: 22px; background-position: top right; } .popup_html .popup-cb { background: rgba(19, 46, 67, 0.86); border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; padding-left: 5px; } /*2D弹窗样式覆盖*/ .leaflet-popup-content { margin: 0px 0px !important; line-height: unset !important; font-size: unset !important; } .leaflet-popup-content-wrapper, .leaflet-popup-tip { background: none !important; /* color: #000 !important; */ box-shadow: none !important; } .leaflet-plabel-text { position: absolute; left: 30px; top: -30px; } .leaflet-container .leaflet-control-zoomslider { width: 36px; border: 0px; } .leaflet-control-zoomslider a { width: 35px; height: 35px; text-align: center; text-decoration: none; display: block; overflow: hidden; background: #fff; line-height: 35px; font-size: 35px; /*border: 1px solid #ffffff;*/ font-weight: normal; } .leaflet-control-zoomslider a:nth-child(1) { border-bottom: 1px solid #999; } .leaflet-control-zoomslider-wrap { padding-top: 0px; padding-bottom: 0px; display: none; /* width: 13px; margin-left: 10px; padding-bottom: 26px; */ } .leaflet-control-zoomslider-knob { width: 35px; height: 35px; text-align: center; text-decoration: none; display: block; overflow: hidden; background: #c7c7c7; line-height: 35px; font-size: 20px; border: 1px solid #ffffff; } .leaflet-control-zoomslider a:hover { /* width: 30px; height: 30px; text-align: center; text-decoration: none; color: black; display: block; overflow: hidden; background: #aaaaaa; line-height: 37px; font-size: 35px; */ } .leaflet-control-zoomslider-knob-bg { width: 6px; position: absolute; left: 6px; top: 18px; } .leaflet-bar-p-pic { width: 36px; height: 146px; /* background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAACSCAYAAAAtk2jwAAAAGXRFW…vh7cOgxBN4AkgACSABJIAEkAASQAJIAAkgAZTt+F+AAQDU0CORc1KdmQAAAABJRU5ErkJggg==) no-repeat left top; */ background: url(images/control-zoomslider-part.png); position: absolute; left: 26px; top: 56px; display: none; } .leaflet-control-zoomslider .leaflet-bar-p-pic span { display: block; cursor: pointer; } .leaflet-bar-p-pic .bj_country { width: 36px; height: 20px; display: block; position: absolute; left: 0px; top: 97px; } .leaflet-bar-p-pic .bj_province { width: 36px; height: 20px; display: block; position: absolute; left: 0px; top: 69px; } .leaflet-bar-p-pic .bj_city { width: 36px; height: 20px; display: block; position: absolute; left: 0px; top: 42px; } .leaflet-bar-p-pic .bj_street { width: 36px; height: 20px; display: block; position: absolute; left: 0px; top: 0px; } .leaflet-contextmenu { display: none; /* background: url(images/saiderbb.png) center center; */ background: rgba(39, 68, 78, 0.86); cursor: default; -webkit-user-select: none; -moz-user-select: none; user-select: none; border: 1px solid #aaaaaa; padding: 5px; margin: 5px 0 0 5px; } .leaflet-contextmenu a.leaflet-contextmenu-item { display: block; font-size: 12px; line-height: 1.5; text-decoration: none; padding: 2px 10px; cursor: pointer; outline: none; width: 140px; border: 0px !important; } .leaflet-contextmenu a.place span { color: #FFF !important; } .leaflet-container a { color: #999; } .leaflet-container a:hover { color: #0078A8; } .leaflet-container img { max-width: none !important; } .leaflet-contextmenu-icon { margin: 2px 8px 0 0; width: 16px; height: 16px; float: left; border: 0; } .leaflet-contextmenu-separator { border-bottom: 1px solid #3de0ff; margin: 5px 0; } .leaflet-contextmenu a.latlng span { color: #FFF !important; } .leaflet-contextmenu a.leaflet-contextmenu-item:hover { text-decoration: underline; } .leaflet-contextmenu a.leaflet-contextmenu-item.over { background: none !important; border-bottom: 0px solid #3de0ff; border-top: 0px !important; } .leaflet-contextmenu a.leaflet-contextmenu-item { color: #3de0ff } .leaflet-popup-content-wrapper, .leaflet-popup-tip { color: #fff; } .leaflet-control-measure-area-link { display: none; } .leaflet-control-measure-distance-link { display: none; } .leaflet-bar { box-shadow: none; border-radius: 0px; } .leaflet-container .leaflet-control-zoomslider { bottom: 70px; right: 28px; border: 1px solid rgba(255, 255, 255, .1); } .leaflet-marker-icon:hover { cursor: pointer; } .leaflet-bar-part-top { width: 35px !important; height: 35px !important; line-height: 35px !important; background: #262a30 !important; color: #dae4f6 !important; font-size: 35px !important; border-bottom: 1px solid #555 !important; } .leaflet-bar-part-bottom { width: 35px !important; height: 35px !important; line-height: 35px !important; background: #262a30 !important; color: #dae4f6 !important; font-size: 35px !important; border: none !important; }