mars3d 3.2.1 → 3.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/mars3d.css +3 -3
- package/dist/mars3d.d.ts +78 -27
- package/dist/mars3d.js +4 -4
- package/package.json +2 -2
package/README.md
CHANGED
package/dist/mars3d.css
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Mars3D三维可视化平台
|
|
3
|
-
* 版本信息:v3.2.
|
|
4
|
-
* 编译日期:2022-02-
|
|
3
|
+
* 版本信息:v3.2.2, hash值: 468aa626920952cfde5c
|
|
4
|
+
* 编译日期:2022-02-19 13:36:43
|
|
5
5
|
* 版权所有:Copyright by 火星科技 http://mars3d.cn
|
|
6
6
|
* 使用单位:免费公开版 ,2022-2-1
|
|
7
7
|
*
|
|
8
|
-
*/.mars3d-divGraphic{position:absolute;left:0;top:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mars3d-divGraphic-edit{background-color:rgba(254,87,161,.1);border:2px dashed rgba(172,85,59,.768);-webkit-border-radius:2px;border-radius:2px;margin:-2px;box-sizing:content-box}.mars3d-divBoderLabel{position:absolute;left:0;bottom:0;cursor:pointer;--animation-name:mars3d-divBoderLabel-animation;--text-left-position:-75px}@keyframes mars3d-divBoderLabel-animation{0%,to{clip:rect(0,var(--clip-width-1),2px,0)}25%{clip:rect(0,2px,var(--clip-height-1),0)}50%{clip:rect(var(--clip-height-2),var(--clip-width-1),var(--clip-width-1),0)}75%{clip:rect(0,var(--clip-width-1),var(--clip-height-1),var(--clip-width-2))}}.mars3d-divBoderLabel-boder{width:var(--boder-width);height:var(--boder-height);margin:auto;color:var(--border-color);box-shadow:inset 0 0 0 1px var(--box-shadow-color)}.mars3d-divBoderLabel-text{color:var(--text-color);font-size:var(--text-font-size);display:flex;width:100%;height:100%;align-items:center;justify-content:center;font-weight:bolder;user-select:none;cursor:pointer}.mars3d-divBoderLabel-boder,.mars3d-divBoderLabel-boder:after,.mars3d-divBoderLabel-boder:before{position:absolute;top:0;bottom:0;left:0;right:0}.mars3d-divBoderLabel-boder:after,.mars3d-divBoderLabel-boder:before{content:"";margin:-5%;box-shadow:inset 0 0 0 2px;animation:var(--animation-name) 8s linear infinite}.mars3d-divBoderLabel-boder:before{animation-delay:-4s}.mars3d-animation-point,.mars3d-animation-point:after,.mars3d-animation-point:before,.mars3d-animation-point p,.mars3d-animation-point p:after,.mars3d-animation-point p:before{margin:0;padding:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.mars3d-animation-point{width:10px;height:10px;border-radius:50%;border:1px solid hsla(0,0%,100%,.5);cursor:pointer;color:#0ff;background:currentColor;z-index:3;box-shadow:0 0 2em currentColor,0 0 .5em currentColor}.mars3d-animation-point,.mars3d-animation-point p{left:50%;top:50%;-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);-o-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);position:absolute}.mars3d-animation-point p{width:0;height:0;border-radius:50%;-webkit-animation:mars3d-animation-point-mapAni 2s ease infinite;-moz-animation:mars3d-animation-point-mapAni 2s ease infinite;-o-animation:mars3d-animation-point-mapAni 2s ease infinite;-ms-animation:mars3d-animation-point-mapAni 2s ease infinite;animation:mars3d-animation-point-mapAni 2s ease infinite}.mars3d-animation-point .mapError{color:red}.mars3d-animation-point .mapWarn{color:#b5a603}.mars3d-animation-point .mapSuccess{color:#239233}.mars3d-animation-point .mapOrange{color:#8c4d34}.mars3d-animation-point:after,.mars3d-animation-point:before,.mars3d-animation-point p:after,.mars3d-animation-point p:before{content:"";position:absolute;width:100%;height:100%;left:50%;top:50%;border-radius:50%;-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);-o-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.mars3d-animation-point:after,.mars3d-animation-point:before{border:1px solid;-webkit-animation:mars3d-animation-point-mapAni 1s ease infinite;-moz-animation:mars3d-animation-point-mapAni 1s ease infinite;-o-animation:mars3d-animation-point-mapAni 1s ease infinite;-ms-animation:mars3d-animation-point-mapAni 1s ease infinite;animation:mars3d-animation-point-mapAni 1s ease infinite}.mars3d-animation-point p:before{border:1px solid}@-webkit-keyframes mars3d-animation-point-mapAni{0%{width:0;height:0;opacity:1;filter:alpha(opacity=1)}25%{width:12px;height:12px;opacity:.7;filter:alpha(opacity=70)}50%{width:20px;height:20px;opacity:.5;filter:alpha(opacity=50)}75%{width:30px;height:30px;opacity:.2;filter:alpha(opacity=20)}to{width:40px;height:40px;opacity:0;filter:alpha(opacity=0)}}@-moz-keyframes mars3d-animation-point-mapAni{0%{width:0;height:0;opacity:1;filter:alpha(opacity=1)}25%{width:12px;height:12px;opacity:.7;filter:alpha(opacity=70)}50%{width:20px;height:20px;opacity:.5;filter:alpha(opacity=50)}75%{width:30px;height:30px;opacity:.2;filter:alpha(opacity=20)}to{width:40px;height:40px;opacity:0;filter:alpha(opacity=0)}}@-o-keyframes mars3d-animation-point-mapAni{0%{width:0;height:0;opacity:1;filter:alpha(opacity=1)}25%{width:12px;height:12px;opacity:.7;filter:alpha(opacity=70)}50%{width:20px;height:20px;opacity:.5;filter:alpha(opacity=50)}75%{width:30px;height:30px;opacity:.2;filter:alpha(opacity=20)}to{width:40px;height:40px;opacity:0;filter:alpha(opacity=0)}}@-ms-keyframes mars3d-animation-point-mapAni{0%{width:0;height:0;opacity:1;filter:alpha(opacity=1)}25%{width:12px;height:12px;opacity:.7;filter:alpha(opacity=70)}50%{width:20px;height:20px;opacity:.5;filter:alpha(opacity=50)}75%{width:30px;height:30px;opacity:.2;filter:alpha(opacity=20)}to{width:40px;height:40px;opacity:0;filter:alpha(opacity=0)}}@keyframes mars3d-animation-point-mapAni{0%{width:0;height:0;opacity:1;filter:alpha(opacity=1)}25%{width:12px;height:12px;opacity:.7;filter:alpha(opacity=70)}50%{width:20px;height:20px;opacity:.5;filter:alpha(opacity=50)}75%{width:30px;height:30px;opacity:.2;filter:alpha(opacity=20)}to{width:40px;height:40px;opacity:0;filter:alpha(opacity=0)}}.mars3d-divUpLabel{text-align:center;background:transparent;color:#fff;display:block;box-sizing:border-box;animation-duration:1s;animation-fill-mode:both;animation-name:mars3d-divUpLabel-tinUpIn}.mars3d-divUpLabel-text{writing-mode:vertical-lr;font-size:16px;letter-spacing:4px}.mars3d-divUpLabel-line{display:block;height:100px;width:1.5px;margin-left:calc(50% - 1px);margin-top:3px;background-color:#fff}@keyframes mars3d-divUpLabel-tinUpIn{0%{opacity:0;transform:scale(1) translateY(-900%)}50%,70%,90%{opacity:1;transform:scale(1.1) translateY(0)}60%,80%,to{opacity:1;transform:scale(1) translateY(0)}}.mars3d-popup{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mars3d-popup-close-button{position:absolute;top:0;right:0;padding:4px 4px 0 0;text-align:center;width:20px;height:20px;font:16px/14px Tahoma,Verdana,sans-serif;text-decoration:none;font-weight:700;background:transparent;z-index:20170825;cursor:pointer}.mars3d-popup-content-wrapper{text-align:center;box-shadow:0 3px 14px rgba(0,0,0,.4);padding:1px;text-align:left;border-radius:3px}.mars3d-popup-content{margin:10px;line-height:1.4;font-size:13px;max-width:700px;min-width:50px;max-height:550px;overflow-y:auto}.mars3d-popup-tip-container{margin:0 auto;width:40px;height:20px;position:relative;overflow:hidden}.mars3d-popup-tip{box-shadow:0 3px 14px rgba(0,0,0,.4);width:17px;height:17px;padding:1px;margin:-10px auto 0;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg)}.mars3d-popup-scrolled{overflow:auto;border-bottom:1px solid #ddd;border-top:1px solid #ddd}.mars3d-popup-color{color:#fff}.mars3d-popup-background{background:rgba(63,72,84,.9)}.mars3d-popup-animation{animation-duration:.3s;animation-fill-mode:both;animation-name:mars3d-popup-swashIn}@keyframes mars3d-popup-swashIn{0%{opacity:0;transform-origin:50% 50%;transform:scale(0)}90%{opacity:1;transform-origin:50% 50%;transform:scale(.9)}to{opacity:1;transform-origin:50% 50%;transform:scale(1)}}.mars-popup-highlight .mars3d-popup-background{background:rgba(41,84,141,.9)!important}.mars3d-popup-btn{padding:3px 10px;border:1px solid #209ffd;background:rgba(32,159,253,.10980392156862745)}.mars3d-template-titile{border-radius:3px 0 0 3px;padding:0 80px 0 10px;height:40px;line-height:40px;font-size:16px;color:#fff;border-bottom:1px solid #616161;overflow:hidden}.mars3d-template-content{min-width:150px;margin-top:12px;font-size:14px;max-height:490px;overflow-y:auto}.mars3d-template-content>div{margin-top:5px}.mars3d-template-content label{margin:0 10px;min-width:55px;float:left}.mars3d-template-content input,.mars3d-template-content textarea{color:#fff;background-color:rgba(63,72,84,.9);border-width:1px;border-style:solid}.mars3d-template-content textarea{height:60px;resize:none}.mars3d-tooltip{padding:6px;background:rgba(63,72,84,.9);border:1px solid rgba(63,72,84,.9);border-radius:3px;color:#fff;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;box-shadow:0 1px 3px rgba(0,0,0,.4);max-width:700px;min-width:50px;max-height:550px}.mars3d-tooltip-bottom:before,.mars3d-tooltip-left:before,.mars3d-tooltip-right:before,.mars3d-tooltip-top:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.mars3d-tooltip-bottom{margin-top:6px}.mars3d-tooltip-top{margin-top:-6px}.mars3d-tooltip-bottom:before,.mars3d-tooltip-top:before{left:50%;margin-left:-6px}.mars3d-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:rgba(63,72,84,.9)}.mars3d-tooltip-bottom:before{top:0;margin-top:-6px;margin-left:-6px;border-bottom-color:rgba(63,72,84,.9)}.mars3d-tooltip-left{margin-left:-6px}.mars3d-tooltip-right{margin-left:6px}.mars3d-tooltip-left:before,.mars3d-tooltip-right:before{top:50%;margin-top:-6px}.mars3d-tooltip-left:before{right:0;margin-right:-12px;border-left-color:rgba(63,72,84,.9)}.mars3d-tooltip-right:before{left:0;margin-left:-6px;border-right-color:rgba(63,72,84,.9)}.mars3d-locationbar{position:absolute;z-index:991;padding:3px 10px;font-size:13px;color:#e9e9e9;text-shadow:2px 2px 2px #000;background-color:rgba(0,0,0,.4);min-height:26px;pointer-events:none}.mars3d-locationbar-content{float:right}.mars3d-locationbar-content>div{float:left;margin-right:20px}.cesium-performanceDisplay-fps,.cesium-performanceDisplay-ms{min-width:65px}@media screen and (max-width:1200px){.mars3d-locationbar-content>div{margin-right:15px}}@media screen and (max-width:1000px){.cesium-performanceDisplay-fps,.cesium-performanceDisplay-ms,.mars3d-locationbar-content>.hide1000{display:none}.mars3d-locationbar-content>div{margin-right:10px}}@media screen and (max-width:700px){.mars3d-locationbar-content>.hide700{display:none}}@media screen and (max-width:600px){.mars3d-locationbar{display:none}}.mars3d-mousedownview{position:absolute;top:0;left:0;width:40px;height:40px;margin-top:-23px;margin-left:-23px;pointer-events:none;visibility:hidden;opacity:0;-webkit-transition:visibility 0s .2s,opacity .2s ease-in;-moz-transition:visibility 0s .2s,opacity .2s ease-in;transition:visibility 0s .2s,opacity .2s ease-in}.mars3d-mousedownview-img{width:36px;height:36px;background-image:url(img/cursor.png);background-size:100% 100%}.mars3d-mousedownview-show{visibility:visible;opacity:1;-webkit-transition:opacity .2s ease-out;-moz-transition:opacity .2s ease-out;transition:opacity .2s ease-out}.mar3d-toolButton{cursor:pointer}.mar3d-toolButton div,.mar3d-toolButton img,.mar3d-toolButton svg{height:100%;text-align:center}.mars3d-compass{position:absolute;cursor:pointer;pointer-events:auto;user-select:none;width:55px;height:55px}.mars3d-compass .mars3d-compass-outer{position:absolute;top:0;left:0;height:55px;width:55px;background-repeat:no-repeat;background-size:contain;fill:#3f4854;border-radius:50%}.mars3d-compass .mars3d-compass-outer svg{height:55px;width:55px}.mars3d-compass .mars3d-compass-inner{position:relative;top:50%;transform:translateY(-50%);height:25px;width:25px;border-radius:50%;display:block;margin:0 auto;padding:4px;box-sizing:border-box;background:#fff;fill:#68adfe}.mars3d-compass .mars3d-compass-rotation-arc{position:absolute;top:2px;left:2px;height:51px;width:51px;border-radius:50%;background-repeat:no-repeat;background-size:contain}.mars3d-distance-legend{position:absolute;width:125px;height:25px;pointer-events:none;user-select:none}.mars3d-distance-legend .legend-label{font-size:13px;color:#fff;text-align:center;width:100%}.mars3d-distance-legend .legend-scale-bar{position:absolute;height:10px;top:10px;border-left:1px solid #fff;border-right:1px solid #fff;border-bottom:1px solid #fff}.mars3d-slider{position:absolute;left:50%;top:0;background-color:#d3d3d3;width:3px;height:100%;z-index:9999}.mars3d-slider .slider-splitter{position:absolute;left:-15px;top:calc(50% - 15px);width:32px;height:32px;background:#f0eeee;border-radius:50%;text-align:center;line-height:36px;padding:2px;border:1px solid #d3d3d3}.mars3d-slider .slider-splitter:hover{cursor:ew-resize}.mars3d-smallTooltip{display:block;position:absolute;max-width:200px;min-width:100px;padding:2px 5px;font-size:11px;z-index:1000;opacity:.8;-khtml-opacity:.8;-moz-opacity:.8;filter:alpha(opacity=80);pointer-events:none}.mars3d-smallTooltip-inner{padding:3px 5px;background-color:rgba(0,0,0,.8);color:#fff;text-align:left;max-width:200px;text-decoration:none;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.mars3d-smallTooltip-inner p{margin:0}.mars3d-smallTooltip-arrow{position:absolute;width:0;height:0;top:50%}.mars3d-smallTooltip-leftArrow{right:0;border-left:5px solid #000}.mars3d-smallTooltip-leftArrow,.mars3d-smallTooltip-rightArrow{margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent}.mars3d-smallTooltip-rightArrow{left:0;border-right:5px solid #000}.mars3d-contextmenu{position:absolute;padding:0;z-index:20170825;display:none}.mars3d-contextmenu-ul{background:rgba(43,44,47,.8);border:1px solid #2b2c2f;min-width:110px;position:relative;list-style:none;margin:0;padding:0}.mars3d-contextmenu-ul .contextmenu-icon{padding-right:10px;min-width:20px;text-align:center;height:100%}.mars3d-contextmenu-ul .contextmenu-arrow{position:absolute;right:0;width:20px;height:20px;text-align:center}.mars3d-contextmenu-ul li+li{margin:0;padding:0;position:relative}.mars3d-contextmenu-ul li+li:before{content:"";display:block;height:1px;width:100%;background:-webkit-linear-gradient(270deg,transparent,hsla(0,0%,100%,.2),transparent);background:linear-gradient(270deg,transparent,hsla(0,0%,100%,.2),transparent);position:absolute;top:0;left:0}.mars3d-contextmenu-ul .line{display:block;content:"";height:1px;width:96%;position:absolute;left:2%;background:#ddd;width:100%;height:20px;border:1px}.mars3d-contextmenu-ul>li>a{padding:6px 10px;-webkit-transition:background-color .25s;-o-transition:background-color .25s;transition:background-color .25s;display:block;clear:both;line-height:22px;color:#76838f;white-space:nowrap;color:#edffff;text-decoration:none}.mars3d-contextmenu-ul>.active>a,.mars3d-contextmenu-ul>.active>a:focus,.mars3d-contextmenu-ul>.active>a:hover,.mars3d-contextmenu-ul>li>.active,.mars3d-contextmenu-ul>li>a:focus,.mars3d-contextmenu-ul>li>a:hover{color:#fff;background-color:#444d59;text-decoration:none}.mars3d-sub-menu{position:absolute;background:rgba(43,44,47,.8);min-width:160px;display:none}.mars3d-sub-menu li{width:100%;box-sizing:border-box;font-size:14px;color:#fff;margin:0;padding:0}.mars3d-sub-menu li:hover{background-color:#444d59}.mars3d-container{width:100%;height:100%;margin:0;padding:0;overflow:hidden;position:relative}.mars3d-overviewMap{position:absolute;user-select:none;width:200px;height:150px;overflow:hidden;border:1px solid orange;box-shadow:2px 2px 3px #2b2b2b}.mars3d-clockAnimate{position:absolute;bottom:0;left:0;height:27px;z-index:999;background:linear-gradient(180deg,rgba(116,117,119,.8) 0,rgba(58,68,82,.8) 11%,rgba(46,50,56,.8) 46%,rgba(53,53,53,.8) 81%,rgba(53,53,53,.8))}.mars3d-clockAnimate .time{margin:0 4px;font-size:13px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mars3d-clockAnimate .mars3d-clockAnimate-btn{display:inline-block;vertical-align:middle;padding:1px 8px;color:#fff;background-color:rgba(63,72,84,.7);border:none;cursor:pointer;width:24px}.mars3d-clockAnimate .mars3d-clockAnimate-btn svg{margin-top:1px}.mars3d-clockAnimate .mars3d-clockAnimate-speed{width:80px;height:24px;border:1px solid hsla(0,0%,53.3%,.6);padding:0 3px;margin:0;color:#fff;background-color:rgba(63,72,84,.7)}.mars3d-clockAnimate .mars3d-clockAnimate-speed ::-webkit-outer-spin-button,.mars3d-clockAnimate .mars3d-clockAnimate-speed input::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0}
|
|
8
|
+
*/.mars3d-divGraphic{position:absolute;left:0;top:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mars3d-divGraphic-edit{background-color:rgba(254,87,161,.1);border:2px dashed rgba(172,85,59,.768);-webkit-border-radius:2px;border-radius:2px;margin:-2px;box-sizing:content-box}.mars3d-divBoderLabel{position:absolute;left:0;bottom:0;cursor:pointer;--animation-name:mars3d-divBoderLabel-animation;--text-left-position:-75px}@keyframes mars3d-divBoderLabel-animation{0%,to{clip:rect(0,var(--clip-width-1),2px,0)}25%{clip:rect(0,2px,var(--clip-height-1),0)}50%{clip:rect(var(--clip-height-2),var(--clip-width-1),var(--clip-width-1),0)}75%{clip:rect(0,var(--clip-width-1),var(--clip-height-1),var(--clip-width-2))}}.mars3d-divBoderLabel-boder{width:var(--boder-width);height:var(--boder-height);margin:auto;color:var(--border-color);box-shadow:inset 0 0 0 1px var(--box-shadow-color)}.mars3d-divBoderLabel-text{color:var(--text-color);font-size:var(--text-font-size);display:flex;width:100%;height:100%;align-items:center;justify-content:center;font-weight:bolder;user-select:none;cursor:pointer}.mars3d-divBoderLabel-boder,.mars3d-divBoderLabel-boder:after,.mars3d-divBoderLabel-boder:before{position:absolute;top:0;bottom:0;left:0;right:0}.mars3d-divBoderLabel-boder:after,.mars3d-divBoderLabel-boder:before{content:"";margin:-5%;box-shadow:inset 0 0 0 2px;animation:var(--animation-name) 8s linear infinite}.mars3d-divBoderLabel-boder:before{animation-delay:-4s}.mars3d-animation-point,.mars3d-animation-point:after,.mars3d-animation-point:before,.mars3d-animation-point p,.mars3d-animation-point p:after,.mars3d-animation-point p:before{margin:0;padding:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.mars3d-animation-point{width:10px;height:10px;border-radius:50%;border:1px solid hsla(0,0%,100%,.5);cursor:pointer;color:#0ff;background:currentColor;z-index:3;box-shadow:0 0 2em currentColor,0 0 .5em currentColor}.mars3d-animation-point,.mars3d-animation-point p{left:50%;top:50%;-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);-o-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);position:absolute}.mars3d-animation-point p{width:0;height:0;border-radius:50%;-webkit-animation:mars3d-animation-point-mapAni 2s ease infinite;-moz-animation:mars3d-animation-point-mapAni 2s ease infinite;-o-animation:mars3d-animation-point-mapAni 2s ease infinite;-ms-animation:mars3d-animation-point-mapAni 2s ease infinite;animation:mars3d-animation-point-mapAni 2s ease infinite}.mars3d-animation-point .mapError{color:red}.mars3d-animation-point .mapWarn{color:#b5a603}.mars3d-animation-point .mapSuccess{color:#239233}.mars3d-animation-point .mapOrange{color:#8c4d34}.mars3d-animation-point:after,.mars3d-animation-point:before,.mars3d-animation-point p:after,.mars3d-animation-point p:before{content:"";position:absolute;width:100%;height:100%;left:50%;top:50%;border-radius:50%;-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);-o-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.mars3d-animation-point:after,.mars3d-animation-point:before{border:1px solid;-webkit-animation:mars3d-animation-point-mapAni 1s ease infinite;-moz-animation:mars3d-animation-point-mapAni 1s ease infinite;-o-animation:mars3d-animation-point-mapAni 1s ease infinite;-ms-animation:mars3d-animation-point-mapAni 1s ease infinite;animation:mars3d-animation-point-mapAni 1s ease infinite}.mars3d-animation-point p:before{border:1px solid}@-webkit-keyframes mars3d-animation-point-mapAni{0%{width:0;height:0;opacity:1;filter:alpha(opacity=1)}25%{width:12px;height:12px;opacity:.7;filter:alpha(opacity=70)}50%{width:20px;height:20px;opacity:.5;filter:alpha(opacity=50)}75%{width:30px;height:30px;opacity:.2;filter:alpha(opacity=20)}to{width:40px;height:40px;opacity:0;filter:alpha(opacity=0)}}@-moz-keyframes mars3d-animation-point-mapAni{0%{width:0;height:0;opacity:1;filter:alpha(opacity=1)}25%{width:12px;height:12px;opacity:.7;filter:alpha(opacity=70)}50%{width:20px;height:20px;opacity:.5;filter:alpha(opacity=50)}75%{width:30px;height:30px;opacity:.2;filter:alpha(opacity=20)}to{width:40px;height:40px;opacity:0;filter:alpha(opacity=0)}}@-o-keyframes mars3d-animation-point-mapAni{0%{width:0;height:0;opacity:1;filter:alpha(opacity=1)}25%{width:12px;height:12px;opacity:.7;filter:alpha(opacity=70)}50%{width:20px;height:20px;opacity:.5;filter:alpha(opacity=50)}75%{width:30px;height:30px;opacity:.2;filter:alpha(opacity=20)}to{width:40px;height:40px;opacity:0;filter:alpha(opacity=0)}}@-ms-keyframes mars3d-animation-point-mapAni{0%{width:0;height:0;opacity:1;filter:alpha(opacity=1)}25%{width:12px;height:12px;opacity:.7;filter:alpha(opacity=70)}50%{width:20px;height:20px;opacity:.5;filter:alpha(opacity=50)}75%{width:30px;height:30px;opacity:.2;filter:alpha(opacity=20)}to{width:40px;height:40px;opacity:0;filter:alpha(opacity=0)}}@keyframes mars3d-animation-point-mapAni{0%{width:0;height:0;opacity:1;filter:alpha(opacity=1)}25%{width:12px;height:12px;opacity:.7;filter:alpha(opacity=70)}50%{width:20px;height:20px;opacity:.5;filter:alpha(opacity=50)}75%{width:30px;height:30px;opacity:.2;filter:alpha(opacity=20)}to{width:40px;height:40px;opacity:0;filter:alpha(opacity=0)}}.mars3d-divUpLabel{text-align:center;background:transparent;color:#fff;display:block;box-sizing:border-box;animation-duration:1s;animation-fill-mode:both;animation-name:mars3d-divUpLabel-tinUpIn}.mars3d-divUpLabel-text{writing-mode:vertical-lr;font-size:16px;letter-spacing:4px}.mars3d-divUpLabel-line{display:block;height:100px;width:1.5px;margin-left:calc(50% - 1px);margin-top:3px;background-color:#fff}@keyframes mars3d-divUpLabel-tinUpIn{0%{opacity:0;transform:scale(1) translateY(-900%)}50%,70%,90%{opacity:1;transform:scale(1.1) translateY(0)}60%,80%,to{opacity:1;transform:scale(1) translateY(0)}}.mars3d-popup{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mars3d-popup-close-button{position:absolute;top:0;right:0;padding:4px 4px 0 0;text-align:center;width:20px;height:20px;font:16px/14px Tahoma,Verdana,sans-serif;text-decoration:none;font-weight:700;background:transparent;z-index:20170825;cursor:pointer}.mars3d-popup-content-wrapper{text-align:center;box-shadow:0 3px 14px rgba(0,0,0,.4);padding:1px;text-align:left;border-radius:3px}.mars3d-popup-content{margin:10px;line-height:1.4;font-size:13px;max-width:700px;min-width:50px;max-height:550px;overflow-y:auto}.mars3d-popup-tip-container{margin:0 auto;width:40px;height:20px;position:relative;overflow:hidden}.mars3d-popup-tip{box-shadow:0 3px 14px rgba(0,0,0,.4);width:17px;height:17px;padding:1px;margin:-10px auto 0;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg)}.mars3d-popup-scrolled{overflow:auto;border-bottom:1px solid #ddd;border-top:1px solid #ddd}.mars3d-popup-color{color:#fff}.mars3d-popup-background{background:rgba(63,72,84,.9)}.mars3d-popup-animation{animation-duration:.3s;animation-fill-mode:both;animation-name:mars3d-popup-swashIn}@keyframes mars3d-popup-swashIn{0%{opacity:0;transform-origin:50% 50%;transform:scale(0)}90%{opacity:1;transform-origin:50% 50%;transform:scale(.9)}to{opacity:1;transform-origin:50% 50%;transform:scale(1)}}.mars3d-popup-background{background:rgba(41,84,141,.9)!important}.mars3d-popup-btn{padding:3px 10px;border:1px solid #209ffd;background:rgba(32,159,253,.10980392156862745)}.mars3d-template-titile{border-radius:3px 0 0 3px;padding:0 80px 0 10px;height:40px;line-height:40px;font-size:16px;color:#fff;border-bottom:1px solid #616161;overflow:hidden}.mars3d-template-content{min-width:150px;margin-top:12px;font-size:14px;max-height:490px;overflow-y:auto}.mars3d-template-content>div{margin-top:5px}.mars3d-template-content label{margin:0 10px;min-width:55px;float:left}.mars3d-template-content input,.mars3d-template-content textarea{color:#fff;background-color:rgba(63,72,84,.9);border-width:1px;border-style:solid}.mars3d-template-content textarea{height:60px;resize:none}.mars3d-tooltip{padding:6px;background:rgba(63,72,84,.9);border:1px solid rgba(63,72,84,.9);border-radius:3px;color:#fff;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;box-shadow:0 1px 3px rgba(0,0,0,.4);max-width:700px;min-width:50px;max-height:550px}.mars3d-tooltip-bottom:before,.mars3d-tooltip-left:before,.mars3d-tooltip-right:before,.mars3d-tooltip-top:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.mars3d-tooltip-bottom{margin-top:6px}.mars3d-tooltip-top{margin-top:-6px}.mars3d-tooltip-bottom:before,.mars3d-tooltip-top:before{left:50%;margin-left:-6px}.mars3d-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:rgba(63,72,84,.9)}.mars3d-tooltip-bottom:before{top:0;margin-top:-6px;margin-left:-6px;border-bottom-color:rgba(63,72,84,.9)}.mars3d-tooltip-left{margin-left:-6px}.mars3d-tooltip-right{margin-left:6px}.mars3d-tooltip-left:before,.mars3d-tooltip-right:before{top:50%;margin-top:-6px}.mars3d-tooltip-left:before{right:0;margin-right:-12px;border-left-color:rgba(63,72,84,.9)}.mars3d-tooltip-right:before{left:0;margin-left:-6px;border-right-color:rgba(63,72,84,.9)}.mars3d-locationbar{position:absolute;z-index:991;padding:3px 10px;font-size:13px;color:#e9e9e9;text-shadow:2px 2px 2px #000;background-color:rgba(0,0,0,.4);min-height:26px;pointer-events:none}.mars3d-locationbar-content{float:right}.mars3d-locationbar-content>div{float:left;margin-right:20px}.cesium-performanceDisplay-fps,.cesium-performanceDisplay-ms{min-width:65px}@media screen and (max-width:1200px){.mars3d-locationbar-content>div{margin-right:15px}}@media screen and (max-width:1000px){.cesium-performanceDisplay-fps,.cesium-performanceDisplay-ms,.mars3d-locationbar-content>.hide1000{display:none}.mars3d-locationbar-content>div{margin-right:10px}}@media screen and (max-width:700px){.mars3d-locationbar-content>.hide700{display:none}}@media screen and (max-width:600px){.mars3d-locationbar{display:none}}.mars3d-mousedownview{position:absolute;top:0;left:0;width:40px;height:40px;margin-top:-23px;margin-left:-23px;pointer-events:none;visibility:hidden;opacity:0;-webkit-transition:visibility 0s .2s,opacity .2s ease-in;-moz-transition:visibility 0s .2s,opacity .2s ease-in;transition:visibility 0s .2s,opacity .2s ease-in}.mars3d-mousedownview-img{width:36px;height:36px;background-image:url(img/cursor.png);background-size:100% 100%}.mars3d-mousedownview-show{visibility:visible;opacity:1;-webkit-transition:opacity .2s ease-out;-moz-transition:opacity .2s ease-out;transition:opacity .2s ease-out}.mar3d-toolButton{cursor:pointer}.mar3d-toolButton div,.mar3d-toolButton img,.mar3d-toolButton svg{height:100%;text-align:center}.mars3d-compass{position:absolute;cursor:pointer;pointer-events:auto;user-select:none;width:55px;height:55px}.mars3d-compass .mars3d-compass-outer{position:absolute;top:0;left:0;height:55px;width:55px;background-repeat:no-repeat;background-size:contain;fill:#3f4854;border-radius:50%}.mars3d-compass .mars3d-compass-outer svg{height:55px;width:55px}.mars3d-compass .mars3d-compass-inner{position:relative;top:50%;transform:translateY(-50%);height:25px;width:25px;border-radius:50%;display:block;margin:0 auto;padding:4px;box-sizing:border-box;background:#fff;fill:#68adfe}.mars3d-compass .mars3d-compass-rotation-arc{position:absolute;top:2px;left:2px;height:51px;width:51px;border-radius:50%;background-repeat:no-repeat;background-size:contain}.mars3d-distance-legend{position:absolute;width:125px;height:25px;pointer-events:none;user-select:none}.mars3d-distance-legend .legend-label{font-size:13px;color:#fff;text-align:center;width:100%}.mars3d-distance-legend .legend-scale-bar{position:absolute;height:10px;top:10px;border-left:1px solid #fff;border-right:1px solid #fff;border-bottom:1px solid #fff}.mars3d-slider{position:absolute;left:50%;top:0;background-color:#d3d3d3;width:3px;height:100%;z-index:9999}.mars3d-slider .slider-splitter{position:absolute;left:-15px;top:calc(50% - 15px);width:32px;height:32px;background:#f0eeee;border-radius:50%;text-align:center;line-height:36px;padding:2px;border:1px solid #d3d3d3}.mars3d-slider .slider-splitter:hover{cursor:ew-resize}.mars3d-smallTooltip{display:block;position:absolute;max-width:200px;min-width:100px;padding:2px 5px;font-size:11px;z-index:1000;opacity:.8;-khtml-opacity:.8;-moz-opacity:.8;filter:alpha(opacity=80);pointer-events:none}.mars3d-smallTooltip-inner{padding:3px 5px;background-color:rgba(0,0,0,.8);color:#fff;text-align:left;max-width:200px;text-decoration:none;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.mars3d-smallTooltip-inner p{margin:0}.mars3d-smallTooltip-arrow{position:absolute;width:0;height:0;top:50%}.mars3d-smallTooltip-leftArrow{right:0;border-left:5px solid #000}.mars3d-smallTooltip-leftArrow,.mars3d-smallTooltip-rightArrow{margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent}.mars3d-smallTooltip-rightArrow{left:0;border-right:5px solid #000}.mars3d-contextmenu{position:absolute;padding:0;z-index:20170825;display:none}.mars3d-contextmenu-ul{background:rgba(43,44,47,.8);border:1px solid #2b2c2f;min-width:110px;position:relative;list-style:none;margin:0;padding:0}.mars3d-contextmenu-ul .contextmenu-icon{padding-right:10px;min-width:20px;text-align:center;height:100%}.mars3d-contextmenu-ul .contextmenu-arrow{position:absolute;right:0;width:20px;height:20px;text-align:center}.mars3d-contextmenu-ul li+li{margin:0;padding:0;position:relative}.mars3d-contextmenu-ul li+li:before{content:"";display:block;height:1px;width:100%;background:-webkit-linear-gradient(270deg,transparent,hsla(0,0%,100%,.2),transparent);background:linear-gradient(270deg,transparent,hsla(0,0%,100%,.2),transparent);position:absolute;top:0;left:0}.mars3d-contextmenu-ul .line{display:block;content:"";height:1px;width:96%;position:absolute;left:2%;background:#ddd;width:100%;height:20px;border:1px}.mars3d-contextmenu-ul>li>a{padding:6px 10px;-webkit-transition:background-color .25s;-o-transition:background-color .25s;transition:background-color .25s;display:block;clear:both;line-height:22px;color:#76838f;white-space:nowrap;color:#edffff;text-decoration:none}.mars3d-contextmenu-ul>.active>a,.mars3d-contextmenu-ul>.active>a:focus,.mars3d-contextmenu-ul>.active>a:hover,.mars3d-contextmenu-ul>li>.active,.mars3d-contextmenu-ul>li>a:focus,.mars3d-contextmenu-ul>li>a:hover{color:#fff;background-color:#444d59;text-decoration:none}.mars3d-sub-menu{position:absolute;background:rgba(43,44,47,.8);min-width:160px;display:none}.mars3d-sub-menu li{width:100%;box-sizing:border-box;font-size:14px;color:#fff;margin:0;padding:0}.mars3d-sub-menu li:hover{background-color:#444d59}.mars3d-container{width:100%;height:100%;margin:0;padding:0;overflow:hidden;position:relative}.mars3d-overviewMap{position:absolute;user-select:none;width:200px;height:150px;overflow:hidden;border:1px solid orange;box-shadow:2px 2px 3px #2b2b2b}.mars3d-clockAnimate{position:absolute;bottom:0;left:0;height:27px;z-index:999;background:linear-gradient(180deg,rgba(116,117,119,.8) 0,rgba(58,68,82,.8) 11%,rgba(46,50,56,.8) 46%,rgba(53,53,53,.8) 81%,rgba(53,53,53,.8))}.mars3d-clockAnimate .time{margin:0 4px;font-size:13px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mars3d-clockAnimate .mars3d-clockAnimate-btn{display:inline-block;vertical-align:middle;padding:1px 8px;color:#fff;background-color:rgba(63,72,84,.7);border:none;cursor:pointer;width:24px}.mars3d-clockAnimate .mars3d-clockAnimate-btn svg{margin-top:1px}.mars3d-clockAnimate .mars3d-clockAnimate-speed{width:80px;height:24px;border:1px solid hsla(0,0%,53.3%,.6);padding:0 3px;margin:0;color:#fff;background-color:rgba(63,72,84,.7)}.mars3d-clockAnimate .mars3d-clockAnimate-speed ::-webkit-outer-spin-button,.mars3d-clockAnimate .mars3d-clockAnimate-speed input::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0}
|
package/dist/mars3d.d.ts
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Mars3D三维可视化平台
|
|
6
6
|
*
|
|
7
|
-
* 版本信息:v3.2.
|
|
8
|
-
* 编译日期:2022-02-
|
|
7
|
+
* 版本信息:v3.2.2,
|
|
8
|
+
* 编译日期:2022-02-19 13:37:27
|
|
9
9
|
*
|
|
10
10
|
* 版权所有:Copyright by 火星科技 http://mars3d.cn
|
|
11
11
|
*
|
|
@@ -4734,7 +4734,8 @@ export namespace DivBoderLabel {
|
|
|
4734
4734
|
* @param [options.hasEdit = true] - 是否允许编辑
|
|
4735
4735
|
* @param [options.testPoint] - 测试点 的对应样式 ,可以进行用于比较测试div的位置,方便调试CSS。
|
|
4736
4736
|
* @param [options.pointerEvents = true] - DIV是否可以鼠标交互,为false时可以穿透操作及缩放地图,但无法进行鼠标交互及触发相关事件。
|
|
4737
|
-
* @param [options.hasZIndex =
|
|
4737
|
+
* @param [options.hasZIndex = false] - 是否自动调整DIV的层级顺序。
|
|
4738
|
+
* @param [options.zIndex = "auto"] - 指定固定的zIndex层级属性(当hasZIndex为true时无效)
|
|
4738
4739
|
* @param [options.depthTest = true] - 是否打开深度判断(true时判断是否在球背面)
|
|
4739
4740
|
* @param [options.hasCache = true] - 是否启用缓存机制,如为true,在视角未变化时不重新渲染。
|
|
4740
4741
|
* @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
|
|
@@ -4756,6 +4757,7 @@ export class DivBoderLabel extends DivGraphic {
|
|
|
4756
4757
|
testPoint?: PointEntity.StyleOptions;
|
|
4757
4758
|
pointerEvents?: boolean;
|
|
4758
4759
|
hasZIndex?: boolean;
|
|
4760
|
+
zIndex?: number | string;
|
|
4759
4761
|
depthTest?: boolean;
|
|
4760
4762
|
hasCache?: boolean;
|
|
4761
4763
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
@@ -4895,6 +4897,7 @@ export namespace DivGraphic {
|
|
|
4895
4897
|
* @param [options.testPoint] - 测试点 的对应样式 ,可以进行用于比较测试div的位置,方便调试CSS。
|
|
4896
4898
|
* @param [options.pointerEvents = true] - DIV是否可以鼠标交互,为false时可以穿透操作及缩放地图,但无法进行鼠标交互及触发相关事件。
|
|
4897
4899
|
* @param [options.hasZIndex = false] - 是否自动调整DIV的层级顺序。
|
|
4900
|
+
* @param [options.zIndex = "auto"] - 指定固定的zIndex层级属性(当hasZIndex为true时无效)
|
|
4898
4901
|
* @param [options.depthTest = true] - 是否打开深度判断(true时判断是否在球背面)
|
|
4899
4902
|
* @param [options.hasCache = true] - 是否启用缓存机制,如为true,在视角未变化时不重新渲染。
|
|
4900
4903
|
* @param [options.parentContainer] - 控件加入的父容器,默认为当前图层所在的DOM layer.container
|
|
@@ -4917,6 +4920,7 @@ export class DivGraphic extends BaseGraphic {
|
|
|
4917
4920
|
testPoint?: PointEntity.StyleOptions;
|
|
4918
4921
|
pointerEvents?: boolean;
|
|
4919
4922
|
hasZIndex?: boolean;
|
|
4923
|
+
zIndex?: number | string;
|
|
4920
4924
|
depthTest?: boolean;
|
|
4921
4925
|
hasCache?: boolean;
|
|
4922
4926
|
parentContainer?: HTMLElement;
|
|
@@ -5123,7 +5127,8 @@ export namespace DivLightPoint {
|
|
|
5123
5127
|
* @param [options.hasEdit = true] - 是否允许编辑
|
|
5124
5128
|
* @param [options.testPoint] - 测试点 的对应样式 ,可以进行用于比较测试div的位置,方便调试CSS。
|
|
5125
5129
|
* @param [options.pointerEvents = true] - DIV是否可以鼠标交互,为false时可以穿透操作及缩放地图,但无法进行鼠标交互及触发相关事件。
|
|
5126
|
-
* @param [options.hasZIndex =
|
|
5130
|
+
* @param [options.hasZIndex = false] - 是否自动调整DIV的层级顺序。
|
|
5131
|
+
* @param [options.zIndex = "auto"] - 指定固定的zIndex层级属性(当hasZIndex为true时无效)
|
|
5127
5132
|
* @param [options.depthTest = true] - 是否打开深度判断(true时判断是否在球背面)
|
|
5128
5133
|
* @param [options.hasCache = true] - 是否启用缓存机制,如为true,在视角未变化时不重新渲染。
|
|
5129
5134
|
* @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
|
|
@@ -5145,6 +5150,7 @@ export class DivLightPoint extends DivGraphic {
|
|
|
5145
5150
|
testPoint?: PointEntity.StyleOptions;
|
|
5146
5151
|
pointerEvents?: boolean;
|
|
5147
5152
|
hasZIndex?: boolean;
|
|
5153
|
+
zIndex?: number | string;
|
|
5148
5154
|
depthTest?: boolean;
|
|
5149
5155
|
hasCache?: boolean;
|
|
5150
5156
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
@@ -5231,7 +5237,8 @@ export namespace DivUpLabel {
|
|
|
5231
5237
|
* @param [options.hasEdit = true] - 是否允许编辑
|
|
5232
5238
|
* @param [options.testPoint] - 测试点 的对应样式 ,可以进行用于比较测试div的位置,方便调试CSS。
|
|
5233
5239
|
* @param [options.pointerEvents = true] - DIV是否可以鼠标交互,为false时可以穿透操作及缩放地图,但无法进行鼠标交互及触发相关事件。
|
|
5234
|
-
* @param [options.hasZIndex =
|
|
5240
|
+
* @param [options.hasZIndex = false] - 是否自动调整DIV的层级顺序。
|
|
5241
|
+
* @param [options.zIndex = "auto"] - 指定固定的zIndex层级属性(当hasZIndex为true时无效)
|
|
5235
5242
|
* @param [options.depthTest = true] - 是否打开深度判断(true时判断是否在球背面)
|
|
5236
5243
|
* @param [options.hasCache = true] - 是否启用缓存机制,如为true,在视角未变化时不重新渲染。
|
|
5237
5244
|
* @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
|
|
@@ -5253,6 +5260,7 @@ export class DivUpLabel extends DivGraphic {
|
|
|
5253
5260
|
testPoint?: PointEntity.StyleOptions;
|
|
5254
5261
|
pointerEvents?: boolean;
|
|
5255
5262
|
hasZIndex?: boolean;
|
|
5263
|
+
zIndex?: number | string;
|
|
5256
5264
|
depthTest?: boolean;
|
|
5257
5265
|
hasCache?: boolean;
|
|
5258
5266
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
@@ -5358,7 +5366,8 @@ export namespace Popup {
|
|
|
5358
5366
|
* @param [options.animation = true] - 是否执行打开时的动画效果
|
|
5359
5367
|
* @param [options.testPoint] - 测试点 的对应样式 ,可以进行用于比较测试div的位置,方便调试CSS。
|
|
5360
5368
|
* @param [options.pointerEvents = true] - DIV是否可以鼠标交互,为false时可以穿透操作及缩放地图,但无法进行鼠标交互及触发相关事件。
|
|
5361
|
-
* @param [options.hasZIndex =
|
|
5369
|
+
* @param [options.hasZIndex = false] - 是否自动调整DIV的层级顺序。
|
|
5370
|
+
* @param [options.zIndex = "10000000"] - 指定固定的zIndex层级属性(当hasZIndex为true时无效)
|
|
5362
5371
|
* @param [options.depthTest = true] - 是否打开深度判断(true时判断是否在球背面)
|
|
5363
5372
|
* @param [options.hasCache = true] - 是否启用缓存机制,如为true,在视角未变化时不重新渲染。
|
|
5364
5373
|
* @param [options.id = uuid()] - 矢量数据id标识
|
|
@@ -5374,6 +5383,7 @@ export class Popup extends DivGraphic {
|
|
|
5374
5383
|
testPoint?: PointEntity.StyleOptions;
|
|
5375
5384
|
pointerEvents?: boolean;
|
|
5376
5385
|
hasZIndex?: boolean;
|
|
5386
|
+
zIndex?: number | string;
|
|
5377
5387
|
depthTest?: boolean;
|
|
5378
5388
|
hasCache?: boolean;
|
|
5379
5389
|
id?: string | number;
|
|
@@ -5447,7 +5457,8 @@ export namespace Tooltip {
|
|
|
5447
5457
|
* @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
|
|
5448
5458
|
* @param [options.testPoint] - 测试点 的对应样式 ,可以进行用于比较测试div的位置,方便调试CSS。
|
|
5449
5459
|
* @param [options.pointerEvents = false] - DIV是否可以鼠标交互,为false时可以穿透操作及缩放地图,但无法进行鼠标交互及触发相关事件。
|
|
5450
|
-
* @param [options.hasZIndex =
|
|
5460
|
+
* @param [options.hasZIndex = false] - 是否自动调整DIV的层级顺序。
|
|
5461
|
+
* @param [options.zIndex = "10000000"] - 指定固定的zIndex层级属性(当hasZIndex为true时无效)
|
|
5451
5462
|
* @param [options.depthTest = true] - 是否打开深度判断(true时判断是否在球背面)
|
|
5452
5463
|
* @param [options.hasCache = true] - 是否启用缓存机制,如为true,在视角未变化时不重新渲染。
|
|
5453
5464
|
* @param [options.id = uuid()] - 矢量数据id标识
|
|
@@ -5462,6 +5473,7 @@ export class Tooltip extends Popup {
|
|
|
5462
5473
|
testPoint?: PointEntity.StyleOptions;
|
|
5463
5474
|
pointerEvents?: boolean;
|
|
5464
5475
|
hasZIndex?: boolean;
|
|
5476
|
+
zIndex?: number | string;
|
|
5465
5477
|
depthTest?: boolean;
|
|
5466
5478
|
hasCache?: boolean;
|
|
5467
5479
|
id?: string | number;
|
|
@@ -17404,6 +17416,7 @@ export class GraphicLayer extends BaseGraphicLayer {
|
|
|
17404
17416
|
* @param [options.type] - 转为指定的类型
|
|
17405
17417
|
* @param [options.style] - 可以设置指定style样式,每种不同类型数据都有不同的样式,具体见各矢量数据的style参数。{@link GraphicType}
|
|
17406
17418
|
* @param [options.crs] - 原始数据的坐标系,如'EPSG:3857' (可以从 {@link http://epsg.io }查询)
|
|
17419
|
+
* @param [options.onEachFeature] - 创建每个Graphic前的回调
|
|
17407
17420
|
* @returns 转换后的Graphic对象数组
|
|
17408
17421
|
*/
|
|
17409
17422
|
loadGeoJSON(geojson: string | any, options?: {
|
|
@@ -17412,6 +17425,7 @@ export class GraphicLayer extends BaseGraphicLayer {
|
|
|
17412
17425
|
type?: GraphicType | string;
|
|
17413
17426
|
style?: any;
|
|
17414
17427
|
crs?: string;
|
|
17428
|
+
onEachFeature?: (...params: any[]) => any;
|
|
17415
17429
|
}): BaseGraphic[];
|
|
17416
17430
|
/**
|
|
17417
17431
|
* 添加Graphic矢量数据
|
|
@@ -18530,6 +18544,11 @@ export class TilesetLayer extends BaseGraphicLayer {
|
|
|
18530
18544
|
* @param [options] - 参数对象,包括以下:
|
|
18531
18545
|
* @param options.url - WFS服务地址
|
|
18532
18546
|
* @param [options.parameters] - 要在URL中 传递给WFS服务GetFeature请求的其他参数。
|
|
18547
|
+
* @param [options.parameters.maxFeatures] - 返回结果最大数量
|
|
18548
|
+
* @param [options.parameters.cql_filter] - 筛选服务数据的[SQL语句]{@link https://docs.geoserver.org/2.12.2/user/services/wfs/vendor.html#wfs-vendor-parameters}
|
|
18549
|
+
* @param [options.parameters.service = 'WFS'] - 服务类型
|
|
18550
|
+
* @param [options.parameters.version = '1.0.0'] - 服务版本
|
|
18551
|
+
* @param [options.geometryName = 'the_geom'] - geometry字段名称
|
|
18533
18552
|
* @param [options.headers] - 将被添加到HTTP请求头。
|
|
18534
18553
|
* @param [options.proxy] - 加载资源时使用的代理。
|
|
18535
18554
|
* @param options.layer - 图层名称(命名空间:图层名称),多个图层名称用逗号隔开
|
|
@@ -18602,7 +18621,13 @@ export class TilesetLayer extends BaseGraphicLayer {
|
|
|
18602
18621
|
export class WfsLayer extends LodGraphicLayer {
|
|
18603
18622
|
constructor(options?: {
|
|
18604
18623
|
url: string;
|
|
18605
|
-
parameters?:
|
|
18624
|
+
parameters?: {
|
|
18625
|
+
maxFeatures?: number;
|
|
18626
|
+
cql_filter?: boolean;
|
|
18627
|
+
service?: string;
|
|
18628
|
+
version?: string;
|
|
18629
|
+
};
|
|
18630
|
+
geometryName?: string;
|
|
18606
18631
|
headers?: any;
|
|
18607
18632
|
proxy?: Mars3dCesium.Proxy;
|
|
18608
18633
|
layer: string;
|
|
@@ -24729,7 +24754,7 @@ export class EchartsLayer extends BaseLayer {
|
|
|
24729
24754
|
*/
|
|
24730
24755
|
export class HeatLayer extends BaseLayer {
|
|
24731
24756
|
constructor(options: {
|
|
24732
|
-
positions?:
|
|
24757
|
+
positions?: LngLatPoint[] | Mars3dCesium.Cartesian3[] | any;
|
|
24733
24758
|
heatStyle?: {
|
|
24734
24759
|
maxOpacity?: number;
|
|
24735
24760
|
minOpacity?: number;
|
|
@@ -24778,7 +24803,7 @@ export class HeatLayer extends BaseLayer {
|
|
|
24778
24803
|
/**
|
|
24779
24804
|
* 数据位置坐标数组 (笛卡尔坐标), 赋值时可以传入LatLngPoint数组对象
|
|
24780
24805
|
*/
|
|
24781
|
-
positions: Mars3dCesium.Cartesian3[] |
|
|
24806
|
+
positions: Mars3dCesium.Cartesian3[] | LngLatPoint[];
|
|
24782
24807
|
/**
|
|
24783
24808
|
* 位置坐标(数组对象),示例 [ [123.123456,32.654321,198.7], [111.123456,22.654321,50.7] ]
|
|
24784
24809
|
*/
|
|
@@ -24792,7 +24817,7 @@ export class HeatLayer extends BaseLayer {
|
|
|
24792
24817
|
* @param item - 坐标点(含热力值)
|
|
24793
24818
|
* @returns 无
|
|
24794
24819
|
*/
|
|
24795
|
-
addPosition(item: Mars3dCesium.Cartesian3 |
|
|
24820
|
+
addPosition(item: Mars3dCesium.Cartesian3 | LngLatPoint): void;
|
|
24796
24821
|
/**
|
|
24797
24822
|
* 清除矢量对象
|
|
24798
24823
|
* @returns 无
|
|
@@ -24811,7 +24836,7 @@ export class HeatLayer extends BaseLayer {
|
|
|
24811
24836
|
|
|
24812
24837
|
/**
|
|
24813
24838
|
* MapV图层
|
|
24814
|
-
* 【需要引入
|
|
24839
|
+
* 【需要引入 mapv.js 库 和 mars3d-mapv 插件库】
|
|
24815
24840
|
* @param options - 图层参数,包括:
|
|
24816
24841
|
* @param [options.data] - new mapv.DataSet(data)的data值,如有传入时可以用于替代dataSet参数
|
|
24817
24842
|
* @param [options.depthTest = true] - 是否进行计算深度判断,在地球背面或被遮挡时不显示(大数据时,需要关闭)
|
|
@@ -25078,14 +25103,14 @@ export class Tle {
|
|
|
25078
25103
|
* @param datetime - 指定的时间
|
|
25079
25104
|
* @returns 卫星当前经纬度位置
|
|
25080
25105
|
*/
|
|
25081
|
-
getPoint(datetime: Date | Mars3dCesium.JulianDate | number):
|
|
25106
|
+
getPoint(datetime: Date | Mars3dCesium.JulianDate | number): LngLatPoint | undefined;
|
|
25082
25107
|
/**
|
|
25083
25108
|
* 获取 地面地点 对卫星的 天文观测值
|
|
25084
25109
|
* @param point - 地面地点经纬度坐标
|
|
25085
25110
|
* @param datetime - 指定的时间
|
|
25086
25111
|
* @returns 观测值
|
|
25087
25112
|
*/
|
|
25088
|
-
getLookAngles(point:
|
|
25113
|
+
getLookAngles(point: LngLatPoint, datetime: Date | Mars3dCesium.JulianDate | number): Tle.LookAngles;
|
|
25089
25114
|
/**
|
|
25090
25115
|
* 计算卫星指定时间所在的 经纬度位置
|
|
25091
25116
|
* @param tle1 - 卫星TLE的第一行
|
|
@@ -25093,7 +25118,7 @@ export class Tle {
|
|
|
25093
25118
|
* @param datetime - 指定的时间
|
|
25094
25119
|
* @returns 卫星当前经纬度位置
|
|
25095
25120
|
*/
|
|
25096
|
-
static getPoint(tle1: string, tle2: string, datetime: Date | Mars3dCesium.JulianDate | number):
|
|
25121
|
+
static getPoint(tle1: string, tle2: string, datetime: Date | Mars3dCesium.JulianDate | number): LngLatPoint | undefined;
|
|
25097
25122
|
/**
|
|
25098
25123
|
* 获取卫星指定时间所在的 ECEF坐标
|
|
25099
25124
|
* @param tle1 - 卫星TLE的第一行
|
|
@@ -25114,7 +25139,7 @@ export class Tle {
|
|
|
25114
25139
|
* @param datetime - 指定时间, number时请传入格林尼治恒星时(GMST)时间
|
|
25115
25140
|
* @returns 经纬度坐标
|
|
25116
25141
|
*/
|
|
25117
|
-
static eciToGeodetic(positionEci: Mars3dCesium.Cartesian3, datetime: Date | Mars3dCesium.JulianDate | number):
|
|
25142
|
+
static eciToGeodetic(positionEci: Mars3dCesium.Cartesian3, datetime: Date | Mars3dCesium.JulianDate | number): LngLatPoint;
|
|
25118
25143
|
/**
|
|
25119
25144
|
* ECI坐标 转换为 ECEF坐标
|
|
25120
25145
|
* @param positionEci - ECI(地心惯性坐标系)坐标
|
|
@@ -25201,7 +25226,7 @@ export namespace CamberRadar {
|
|
|
25201
25226
|
*/
|
|
25202
25227
|
export class CamberRadar extends BasePointPrimitive {
|
|
25203
25228
|
constructor(options: {
|
|
25204
|
-
position:
|
|
25229
|
+
position: LngLatPoint | Mars3dCesium.Cartesian3 | number[];
|
|
25205
25230
|
style: CamberRadar.StyleOptions;
|
|
25206
25231
|
attr?: any;
|
|
25207
25232
|
id?: string | number;
|
|
@@ -25301,7 +25326,7 @@ export namespace ConicSensor {
|
|
|
25301
25326
|
*/
|
|
25302
25327
|
export class ConicSensor extends BasePointPrimitive {
|
|
25303
25328
|
constructor(options: {
|
|
25304
|
-
position:
|
|
25329
|
+
position: LngLatPoint | Mars3dCesium.Cartesian3 | number[];
|
|
25305
25330
|
style: ConicSensor.StyleOptions;
|
|
25306
25331
|
attr?: any;
|
|
25307
25332
|
lookAt?: Mars3dCesium.Cartesian3 | Mars3dCesium.PositionProperty;
|
|
@@ -25461,7 +25486,7 @@ export namespace RectSensor {
|
|
|
25461
25486
|
*/
|
|
25462
25487
|
export class RectSensor extends BasePointPrimitive {
|
|
25463
25488
|
constructor(options: {
|
|
25464
|
-
position:
|
|
25489
|
+
position: LngLatPoint | Mars3dCesium.Cartesian3 | number[];
|
|
25465
25490
|
style: RectSensor.StyleOptions;
|
|
25466
25491
|
attr?: any;
|
|
25467
25492
|
lookAt?: Mars3dCesium.Cartesian3 | Mars3dCesium.PositionProperty;
|
|
@@ -25810,7 +25835,7 @@ export namespace SatelliteSensor {
|
|
|
25810
25835
|
*/
|
|
25811
25836
|
export class SatelliteSensor extends BasePointPrimitive {
|
|
25812
25837
|
constructor(options?: {
|
|
25813
|
-
position:
|
|
25838
|
+
position: LngLatPoint | Mars3dCesium.Cartesian3 | number[];
|
|
25814
25839
|
style: SatelliteSensor.StyleOptions;
|
|
25815
25840
|
attr?: any;
|
|
25816
25841
|
lookAt?: Mars3dCesium.Cartesian3 | Mars3dCesium.PositionProperty;
|
|
@@ -27466,14 +27491,16 @@ export class QueryGeoServer extends BaseClass {
|
|
|
27466
27491
|
*/
|
|
27467
27492
|
readonly layer: GeoJsonLayer;
|
|
27468
27493
|
/**
|
|
27469
|
-
*
|
|
27494
|
+
* 查询服务,基于filter条件
|
|
27470
27495
|
* @param queryOptions - 查询参数
|
|
27471
|
-
* @param [queryOptions.text] -
|
|
27472
|
-
* @param [queryOptions.column] -
|
|
27473
|
-
* @param [queryOptions.like = true] - 检索关键字时,是否模糊匹配,false
|
|
27496
|
+
* @param [queryOptions.text] - 检索关键字
|
|
27497
|
+
* @param [queryOptions.column] - 检索关键字时,对应的字段名称
|
|
27498
|
+
* @param [queryOptions.like = true] - 检索关键字时,是否模糊匹配,false时精确查询
|
|
27474
27499
|
* @param [queryOptions.graphic] - 限定的搜索区域
|
|
27475
|
-
* @param [queryOptions.
|
|
27476
|
-
* @param [queryOptions.maxFeatures = 1000] -
|
|
27500
|
+
* @param [queryOptions.geometryName = 'the_geom'] - 限定的搜索区域时,对应的geometry字段名称
|
|
27501
|
+
* @param [queryOptions.maxFeatures = 1000] - 返回结果最大数量
|
|
27502
|
+
* @param [queryOptions.sortBy] - 排序的属性名称,默认升序,降序时+D
|
|
27503
|
+
* @param [queryOptions.更多参数] - WFS服务支持的其他参数,均支持
|
|
27477
27504
|
* @param [queryOptions.success] - 查询完成的回调方法
|
|
27478
27505
|
* @param [queryOptions.error] - 查询失败的回调方法
|
|
27479
27506
|
* @returns 当前对象本身,可以链式调用
|
|
@@ -27483,8 +27510,32 @@ export class QueryGeoServer extends BaseClass {
|
|
|
27483
27510
|
column?: string;
|
|
27484
27511
|
like?: boolean;
|
|
27485
27512
|
graphic?: BaseGraphic | any;
|
|
27486
|
-
|
|
27513
|
+
geometryName?: string;
|
|
27514
|
+
maxFeatures?: number;
|
|
27515
|
+
sortBy?: string;
|
|
27516
|
+
更多参数?: any;
|
|
27517
|
+
success?: (...params: any[]) => any;
|
|
27518
|
+
error?: (...params: any[]) => any;
|
|
27519
|
+
}): QueryGeoServer;
|
|
27520
|
+
/**
|
|
27521
|
+
* 查询服务,基于cql_filter条件
|
|
27522
|
+
* @param queryOptions - 查询参数
|
|
27523
|
+
* @param queryOptions.parameters.cql_filter - 筛选服务数据的[SQL语句]{@link https://docs.geoserver.org/2.12.2/user/services/wfs/vendor.html#wfs-vendor-parameters}
|
|
27524
|
+
* @param [queryOptions.graphic] - 限定的搜索区域,自动转换后加入到cql_filter中,也可以外部自行处理
|
|
27525
|
+
* @param [queryOptions.geometryName = 'the_geom'] - 限定的搜索区域时,对应的geometry字段名称
|
|
27526
|
+
* @param [queryOptions.maxFeatures = 1000] - 返回结果最大数量
|
|
27527
|
+
* @param [queryOptions.sortBy] - 排序的属性名称,默认升序,降序时+D
|
|
27528
|
+
* @param [queryOptions.更多参数] - WFS服务支持的其他参数,均支持
|
|
27529
|
+
* @param [queryOptions.success] - 查询完成的回调方法
|
|
27530
|
+
* @param [queryOptions.error] - 查询失败的回调方法
|
|
27531
|
+
* @returns 当前对象本身,可以链式调用
|
|
27532
|
+
*/
|
|
27533
|
+
queryBySql(queryOptions: {
|
|
27534
|
+
graphic?: BaseGraphic | any;
|
|
27535
|
+
geometryName?: string;
|
|
27487
27536
|
maxFeatures?: number;
|
|
27537
|
+
sortBy?: string;
|
|
27538
|
+
更多参数?: any;
|
|
27488
27539
|
success?: (...params: any[]) => any;
|
|
27489
27540
|
error?: (...params: any[]) => any;
|
|
27490
27541
|
}): QueryGeoServer;
|