标注字体样式修改,指南针修改,水源地弹出信息修改,图层贴图修改
parent
9c6a42531e
commit
2ad66493c0
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.3 KiB |
|
|
@ -234,6 +234,9 @@
|
|||
user-select: none;
|
||||
width: 55px;
|
||||
height: 55px;
|
||||
border-radius: 50%;
|
||||
/* background:url(./img//pointer.png);
|
||||
background-size:100% 100%; */
|
||||
}
|
||||
.mars3d-compass .mars3d-compass-outer {
|
||||
position: absolute;
|
||||
|
|
@ -244,11 +247,15 @@
|
|||
background-repeat: no-repeat;
|
||||
background-size: contain;
|
||||
fill: #3f4854;
|
||||
border-radius: 50%;
|
||||
/* border-radius: 50%; */
|
||||
line-height:55px;
|
||||
/* background:red; */
|
||||
}
|
||||
.mars3d-compass .mars3d-compass-outer svg {
|
||||
height: 55px;
|
||||
width: 55px;
|
||||
position:absolute;
|
||||
top:0px;
|
||||
}
|
||||
.mars3d-compass .mars3d-compass-inner {
|
||||
position: relative;
|
||||
|
|
@ -263,6 +270,7 @@
|
|||
box-sizing: border-box;
|
||||
background: #ffffff;
|
||||
fill: #68adfe;
|
||||
display: none;
|
||||
}
|
||||
.mars3d-compass .mars3d-compass-rotation-arc {
|
||||
position: absolute;
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -111,9 +111,21 @@ export default {
|
|||
"clampToGround": true
|
||||
}
|
||||
attribute.zIndex = 10000000000;
|
||||
}
|
||||
}
|
||||
if(attribute.symbol && attribute.symbol.styleOptions && attribute.symbol.styleOptions.label){
|
||||
attribute.symbol.styleOptions.label.pixelOffsetY = -40
|
||||
attribute.symbol.styleOptions.label = {
|
||||
text: "{name}",
|
||||
font_size: 14,
|
||||
color: Cesium.Color.AZURE,
|
||||
outline: true,
|
||||
outlineColor: Cesium.Color.BLACK,
|
||||
outlineWidth: 2,
|
||||
horizontalOrigin: Cesium.HorizontalOrigin.CENTER,
|
||||
verticalOrigin: Cesium.VerticalOrigin.BOTTOM,
|
||||
// pixelOffset: new Cesium.Cartesian2(10, -25) // 偏移量
|
||||
pixelOffsetY:-40
|
||||
}
|
||||
}
|
||||
attribute.pid = group.id;
|
||||
// 替换所有图层地址路径 历史遗留数据库保存的是223服务器地址
|
||||
|
|
@ -146,7 +158,7 @@ export default {
|
|||
const mapOptions = {
|
||||
...options,
|
||||
...this.options,
|
||||
};
|
||||
};
|
||||
|
||||
// 创建三维地球场景
|
||||
var map = new mars3d.Map(`mars3d-container${this.mapKey}`, mapOptions);
|
||||
|
|
|
|||
|
|
@ -379,7 +379,6 @@ export default {
|
|||
})
|
||||
})
|
||||
|
||||
|
||||
grap.setStyle(
|
||||
{
|
||||
image: "img/wateractive.png",
|
||||
|
|
|
|||
Loading…
Reference in New Issue