map23DView.css 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417
  1. #map23DHolder {
  2. width: 100%;
  3. height: 100%;
  4. position: relative;
  5. }
  6. #map2DWrap {
  7. width: calc(50% - 10px);
  8. height: 100%;
  9. position: relative;
  10. left: 0px;
  11. top: 0px;
  12. background: #aaa;
  13. z-index: 2;
  14. }
  15. #map2DDiv {
  16. position: absolute;
  17. width: 100%;
  18. height: 100%;
  19. }
  20. #map3DWrap {
  21. width: 50%;
  22. height: 100%;
  23. position: relative;
  24. left: calc(50% - 10px);
  25. bottom: 100%;
  26. float: left;
  27. background: #bbb;
  28. padding: 0 0 0 10px;
  29. z-index: 1;
  30. }
  31. .show2DOnly #map2DWrap {
  32. width: 100%;
  33. height: 100%;
  34. }
  35. .show2DOnly #map3DWrap {
  36. width: 1px;
  37. height: 1px;
  38. /* right: -9999999px;
  39. overflow: hidden; */
  40. display: none;
  41. }
  42. .show3DOnly #map3DWrap {
  43. width: 100%;
  44. height: 100%;
  45. bottom: 0;
  46. left: 0;
  47. padding: 0px;
  48. }
  49. .show3DOnly #map2DWrap {
  50. width: 1px;
  51. height: 1px;
  52. /* overflow: hidden; */
  53. display: none;
  54. }
  55. #TimeLineContainer {
  56. position: absolute;
  57. bottom: 10px;
  58. left: 10px;
  59. width: 400px;
  60. z-index: 2222222;
  61. }
  62. #TimeLineContainer li {
  63. margin-top: 20px;
  64. text-decoration: none;
  65. }
  66. .measureDistance_tips,
  67. .measureArea_tips,
  68. .measureHeight_tips {
  69. position: absolute;
  70. top: -100px;
  71. left: -100px;
  72. width: 160;
  73. height: 20;
  74. background-color: #000000;
  75. color: #ffffff;
  76. text-indent: 10;
  77. z-index: 1000
  78. }
  79. /*3D弹窗*/
  80. #markerPopup {
  81. position: absolute;
  82. }
  83. #markerPopup a {
  84. color: #999
  85. }
  86. #markerPopup a:hover {
  87. color: #0078A8
  88. }
  89. /*23D重写的弹窗样式*/
  90. .popup_html {
  91. position: relative;
  92. border: 1px solid #aaaaaa;
  93. border-radius: 4px;
  94. }
  95. .popup_html .popup-ct {
  96. background: rgba(9, 30, 41, 0.8);
  97. border-top-right-radius: 4px;
  98. border-top-left-radius: 4px;
  99. color: #fff
  100. }
  101. .popup_html .popup-lt {
  102. position: absolute;
  103. top: 0px;
  104. left: -20px;
  105. bottom: 19px;
  106. width: 20px;
  107. height: 100%;
  108. background-position: top left;
  109. }
  110. .popup_html .popup-lb {
  111. position: absolute;
  112. left: -20px;
  113. bottom: -19px;
  114. width: 42px;
  115. height: 19px;
  116. background-position: top left;
  117. }
  118. .popup_html .popup-rt {
  119. position: absolute;
  120. right: -8px;
  121. top: 0px;
  122. bottom: 19px;
  123. width: 8px;
  124. height: 100%;
  125. background-position: top right;
  126. }
  127. .popup_html .popup-rb {
  128. position: absolute;
  129. right: -8px;
  130. bottom: -19px;
  131. height: 19px;
  132. left: 22px;
  133. background-position: top right;
  134. }
  135. .popup_html .popup-cb {
  136. background: rgba(19, 46, 67, 0.86);
  137. border-bottom-right-radius: 4px;
  138. border-bottom-left-radius: 4px;
  139. padding-left: 5px;
  140. }
  141. /*2D弹窗样式覆盖*/
  142. .leaflet-popup-content {
  143. margin: 0px 0px !important;
  144. line-height: unset !important;
  145. font-size: unset !important;
  146. }
  147. .leaflet-popup-content-wrapper,
  148. .leaflet-popup-tip {
  149. background: none !important;
  150. /* color: #000 !important; */
  151. box-shadow: none !important;
  152. }
  153. .leaflet-plabel-text {
  154. position: absolute;
  155. left: 30px;
  156. top: -30px;
  157. }
  158. .leaflet-container .leaflet-control-zoomslider {
  159. width: 36px;
  160. border: 0px;
  161. }
  162. .leaflet-control-zoomslider a {
  163. width: 35px;
  164. height: 35px;
  165. text-align: center;
  166. text-decoration: none;
  167. display: block;
  168. overflow: hidden;
  169. background: #fff;
  170. line-height: 35px;
  171. font-size: 35px;
  172. /*border: 1px solid #ffffff;*/
  173. font-weight: normal;
  174. }
  175. .leaflet-control-zoomslider a:nth-child(1) {
  176. border-bottom: 1px solid #999;
  177. }
  178. .leaflet-control-zoomslider-wrap {
  179. padding-top: 0px;
  180. padding-bottom: 0px;
  181. display: none;
  182. /* width: 13px;
  183. margin-left: 10px;
  184. padding-bottom: 26px; */
  185. }
  186. .leaflet-control-zoomslider-knob {
  187. width: 35px;
  188. height: 35px;
  189. text-align: center;
  190. text-decoration: none;
  191. display: block;
  192. overflow: hidden;
  193. background: #c7c7c7;
  194. line-height: 35px;
  195. font-size: 20px;
  196. border: 1px solid #ffffff;
  197. }
  198. .leaflet-control-zoomslider a:hover {
  199. /* width: 30px;
  200. height: 30px;
  201. text-align: center;
  202. text-decoration: none;
  203. color: black;
  204. display: block;
  205. overflow: hidden;
  206. background: #aaaaaa;
  207. line-height: 37px;
  208. font-size: 35px; */
  209. }
  210. .leaflet-control-zoomslider-knob-bg {
  211. width: 6px;
  212. position: absolute;
  213. left: 6px;
  214. top: 18px;
  215. }
  216. .leaflet-bar-p-pic {
  217. width: 36px;
  218. height: 146px;
  219. /* background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAACSCAYAAAAtk2jwAAAAGXRFW…vh7cOgxBN4AkgACSABJIAEkAASQAJIAAkgAZTt+F+AAQDU0CORc1KdmQAAAABJRU5ErkJggg==) no-repeat left top; */
  220. background: url(images/control-zoomslider-part.png);
  221. position: absolute;
  222. left: 26px;
  223. top: 56px;
  224. display: none;
  225. }
  226. .leaflet-control-zoomslider .leaflet-bar-p-pic span {
  227. display: block;
  228. cursor: pointer;
  229. }
  230. .leaflet-bar-p-pic .bj_country {
  231. width: 36px;
  232. height: 20px;
  233. display: block;
  234. position: absolute;
  235. left: 0px;
  236. top: 97px;
  237. }
  238. .leaflet-bar-p-pic .bj_province {
  239. width: 36px;
  240. height: 20px;
  241. display: block;
  242. position: absolute;
  243. left: 0px;
  244. top: 69px;
  245. }
  246. .leaflet-bar-p-pic .bj_city {
  247. width: 36px;
  248. height: 20px;
  249. display: block;
  250. position: absolute;
  251. left: 0px;
  252. top: 42px;
  253. }
  254. .leaflet-bar-p-pic .bj_street {
  255. width: 36px;
  256. height: 20px;
  257. display: block;
  258. position: absolute;
  259. left: 0px;
  260. top: 0px;
  261. }
  262. .leaflet-contextmenu {
  263. display: none;
  264. /* background: url(images/saiderbb.png) center center; */
  265. background: rgba(39, 68, 78, 0.86);
  266. cursor: default;
  267. -webkit-user-select: none;
  268. -moz-user-select: none;
  269. user-select: none;
  270. border: 1px solid #aaaaaa;
  271. padding: 5px;
  272. margin: 5px 0 0 5px;
  273. }
  274. .leaflet-contextmenu a.leaflet-contextmenu-item {
  275. display: block;
  276. font-size: 12px;
  277. line-height: 1.5;
  278. text-decoration: none;
  279. padding: 2px 10px;
  280. cursor: pointer;
  281. outline: none;
  282. width: 140px;
  283. border: 0px !important;
  284. }
  285. .leaflet-contextmenu a.place span {
  286. color: #FFF !important;
  287. }
  288. .leaflet-container a {
  289. color: #999;
  290. }
  291. .leaflet-container a:hover {
  292. color: #0078A8;
  293. }
  294. .leaflet-container img {
  295. max-width: none !important;
  296. }
  297. .leaflet-contextmenu-icon {
  298. margin: 2px 8px 0 0;
  299. width: 16px;
  300. height: 16px;
  301. float: left;
  302. border: 0;
  303. }
  304. .leaflet-contextmenu-separator {
  305. border-bottom: 1px solid #3de0ff;
  306. margin: 5px 0;
  307. }
  308. .leaflet-contextmenu a.latlng span {
  309. color: #FFF !important;
  310. }
  311. .leaflet-contextmenu a.leaflet-contextmenu-item:hover {
  312. text-decoration: underline;
  313. }
  314. .leaflet-contextmenu a.leaflet-contextmenu-item.over {
  315. background: none !important;
  316. border-bottom: 0px solid #3de0ff;
  317. border-top: 0px !important;
  318. }
  319. .leaflet-contextmenu a.leaflet-contextmenu-item {
  320. color: #3de0ff
  321. }
  322. .leaflet-popup-content-wrapper,
  323. .leaflet-popup-tip {
  324. color: #fff;
  325. }
  326. .leaflet-control-measure-area-link {
  327. display: none;
  328. }
  329. .leaflet-control-measure-distance-link {
  330. display: none;
  331. }
  332. .leaflet-bar {
  333. box-shadow: none;
  334. border-radius: 0px;
  335. }
  336. .leaflet-container .leaflet-control-zoomslider {
  337. bottom: 70px;
  338. right: 28px;
  339. border: 1px solid rgba(255, 255, 255, .1);
  340. }
  341. .leaflet-marker-icon:hover {
  342. cursor: pointer;
  343. }
  344. .leaflet-bar-part-top {
  345. width: 35px !important;
  346. height: 35px !important;
  347. line-height: 35px !important;
  348. background: #262a30 !important;
  349. color: #dae4f6 !important;
  350. font-size: 35px !important;
  351. border-bottom: 1px solid #555 !important;
  352. }
  353. .leaflet-bar-part-bottom {
  354. width: 35px !important;
  355. height: 35px !important;
  356. line-height: 35px !important;
  357. background: #262a30 !important;
  358. color: #dae4f6 !important;
  359. font-size: 35px !important;
  360. border: none !important;
  361. }