修改地图模式以及重新渲染地图标点、线段等,修改部分字段
|
|
@ -209,7 +209,7 @@ body {
|
|||
/* 左下角工程概况 */
|
||||
.project-overview-box {
|
||||
position: absolute;
|
||||
bottom: 15px;
|
||||
bottom: 35px;
|
||||
left: 15px;
|
||||
width: 260px;
|
||||
padding: 10px;
|
||||
|
|
@ -480,3 +480,67 @@ body {
|
|||
text-overflow: ellipsis; /* 超出时显示省略号(可选) */
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.cesium-viewer-toolbar-left-bottom {
|
||||
width: 40px;
|
||||
position: absolute;
|
||||
right: 5px !important;
|
||||
bottom: 60px !important;
|
||||
left: unset !important;
|
||||
}
|
||||
|
||||
.cesium-viewer-toolbar-left-bottom .cesium-baseLayerPicker-dropDown {
|
||||
right: 40px !important;
|
||||
left: unset !important;
|
||||
}
|
||||
|
||||
.mars3d-compass {
|
||||
top: 25px !important;
|
||||
right: 25px !important;
|
||||
left: unset !important;
|
||||
bottom: unset !important;
|
||||
}
|
||||
|
||||
/* .cesium-viewer-toolbar-left-bottom
|
||||
.cesium-sceneModePicker-wrapper
|
||||
.cesium-sceneModePicker-dropDown-icon:nth-child(3) {
|
||||
position: absolute;
|
||||
left: -40px;
|
||||
top: 0;
|
||||
}
|
||||
.cesium-viewer-toolbar-left-bottom
|
||||
.cesium-sceneModePicker-wrapper
|
||||
.cesium-sceneModePicker-dropDown-icon:last-child {
|
||||
position: absolute;
|
||||
left: -40px;
|
||||
top: 0;
|
||||
} */
|
||||
|
||||
.cesium-viewer-toolbar-left-bottom
|
||||
.cesium-sceneModePicker-wrapper
|
||||
button:nth-child(2) {
|
||||
position: absolute;
|
||||
left: -40px;
|
||||
top: 0;
|
||||
}
|
||||
.cesium-viewer-toolbar-left-bottom
|
||||
.cesium-sceneModePicker-wrapper
|
||||
button:nth-child(3) {
|
||||
position: absolute;
|
||||
left: -40px;
|
||||
top: 0;
|
||||
}
|
||||
.cesium-viewer-toolbar-left-bottom
|
||||
.cesium-sceneModePicker-wrapper
|
||||
button:last-child {
|
||||
position: absolute;
|
||||
left: -80px;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.cesium-viewer-toolbar-left-bottom
|
||||
.cesium-navigationHelpButton-wrapper
|
||||
.cesium-navigation-help {
|
||||
right: 40px !important;
|
||||
left: unset !important;
|
||||
}
|
||||
|
|
|
|||
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 7.9 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 9.0 KiB |
|
After Width: | Height: | Size: 8.4 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 8.7 KiB |
|
After Width: | Height: | Size: 2.0 MiB |
|
After Width: | Height: | Size: 1.6 MiB |
|
|
@ -152,7 +152,7 @@ function saveData2() {
|
|||
// 保存数据
|
||||
function saveData(data) {
|
||||
if (!pointsStr) {
|
||||
return layer.msg("请配置千张场地,区域经纬度信息", { icon: 7 });
|
||||
return layer.msg("请配置牵张场地,区域经纬度信息", { icon: 7 });
|
||||
}
|
||||
let loadingMsg = layer.msg("数据上传中,请稍候...", {
|
||||
icon: 16,
|
||||
|
|
@ -226,7 +226,7 @@ function setLonAndLatData() {
|
|||
obj.points = pointsStr;
|
||||
openIframeByParamObj2(
|
||||
"setLonAndLatData",
|
||||
"配置千张场地、区域经纬度",
|
||||
"配置牵张场地、区域经纬度",
|
||||
"../../lineManagement/child/setQzSiteLonAndLat.html",
|
||||
"92%",
|
||||
"95%",
|
||||
|
|
|
|||
|
|
@ -265,9 +265,9 @@ function addHighway(id) {
|
|||
);
|
||||
}
|
||||
|
||||
// 新增千张场地
|
||||
// 新增牵张场地
|
||||
function addQzSite(id) {
|
||||
let title = "新增千张场地";
|
||||
let title = "新增牵张场地";
|
||||
let param = {
|
||||
id: id,
|
||||
proId: idParam,
|
||||
|
|
|
|||
|
|
@ -266,9 +266,9 @@ function addHighway(id) {
|
|||
);
|
||||
}
|
||||
|
||||
// 新增千张场地
|
||||
// 新增牵张场地
|
||||
function addQzSite(id) {
|
||||
let title = "新增千张场地";
|
||||
let title = "新增牵张场地";
|
||||
let param = {
|
||||
id: id,
|
||||
proId: idParam,
|
||||
|
|
|
|||
|
|
@ -247,9 +247,9 @@ function addHighway(id) {
|
|||
);
|
||||
}
|
||||
|
||||
// 新增千张场地
|
||||
// 新增牵张场地
|
||||
function addQzSite(id) {
|
||||
let title = "新增千张场地";
|
||||
let title = "新增牵张场地";
|
||||
let param = {
|
||||
id: id,
|
||||
proId: idParam,
|
||||
|
|
|
|||
|
|
@ -240,7 +240,7 @@ function initTable(dataList, limit, page) {
|
|||
<ul class="btn-group-ul" id="transport-dropdown-ul-${d.id}">
|
||||
<li><a style=" color: #2f82fb;" onclick=\"addRopeway(${d.id})\">索道运输</a></li>
|
||||
<li><a style=" color: #2f82fb;" onclick=\"addRoadTransport(${d.id})\">公路运输</a></li>
|
||||
<li><a style=" color: #2f82fb;" onclick=\"addRailwayTransport(${d.id})\">千张场地</a></li>
|
||||
<li><a style=" color: #2f82fb;" onclick=\"addRailwayTransport(${d.id})\">牵张场地</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
`;
|
||||
|
|
@ -488,14 +488,14 @@ function addRoadTransport(id) {
|
|||
param
|
||||
);
|
||||
}
|
||||
// 千张场地
|
||||
// 牵张场地
|
||||
function addRailwayTransport(id) {
|
||||
let param = {
|
||||
id: id,
|
||||
};
|
||||
openIframe2(
|
||||
"ropeway",
|
||||
"千张场地",
|
||||
"牵张场地",
|
||||
"child/qzSiteList.html",
|
||||
"92%",
|
||||
"95%",
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ let towerList = []; // 塔列表
|
|||
let crossingList = []; // 跨越列表
|
||||
let crossingListNew = []; // 跨越列表
|
||||
let highwayList = []; // 公路列表
|
||||
let aThousandFieldsList = []; // 千张场地
|
||||
let aThousandFieldsList = []; // 牵张场地
|
||||
let intLng = 116.254; // 初始经度
|
||||
let intLat = 39.965; // 初始纬度
|
||||
let isMap = true; // 是否是地图模式
|
||||
|
|
@ -1171,7 +1171,7 @@ function getSegmentColor(startPoint, endPoint) {
|
|||
return config.polyline.strokeColor;
|
||||
}
|
||||
|
||||
// 绘制千张场地区域图
|
||||
// 绘制牵张场地区域图
|
||||
function addMapAThousandFields() {
|
||||
if (aThousandFieldsList.length > 0) {
|
||||
aThousandFieldsList.forEach((item) => {
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@
|
|||
</div>
|
||||
</div> -->
|
||||
|
||||
<!-- 千张场地信息 -->
|
||||
<!-- 牵张场地信息 -->
|
||||
<div class="layui-form-item" style="margin-top: 2%;">
|
||||
<label class="layui-form-label"><span class="required-mark">*</span>名称:</label>
|
||||
<div class="layui-input-inline">
|
||||
|
|
@ -119,7 +119,7 @@
|
|||
</div>
|
||||
|
||||
<div class="btn-box">
|
||||
<button class="layui-btn layui-btn-normal save" onclick="setLonAndLatData()">配置千张场地、区域经纬度</button>
|
||||
<button class="layui-btn layui-btn-normal save" onclick="setLonAndLatData()">配置牵张场地、区域经纬度</button>
|
||||
<button class="layui-btn layui-btn-normal save" onclick="saveData2()">确定</button>
|
||||
<button class="layui-btn layui-btn-primary cancel" onclick="closePage()">取消</button>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
<div class="layui-inline" style="padding: 0 0 0 10px;">
|
||||
<div class="layui-input-inline">
|
||||
<input type="text" id="keyWord" name="keyWord" maxlength="30" class="layui-input"
|
||||
autocomplete="off" placeholder="请输入千张场地名称">
|
||||
autocomplete="off" placeholder="请输入牵张场地名称">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
@ -43,7 +43,7 @@
|
|||
<button type="button" class="layui-btn layui-btn-primary layui-btn-sm btn-3"
|
||||
style="background-color: #00377A;color: #ffffff" onclick="addQzSite(null)">
|
||||
<div class="layout" style="justify-content: space-around;">
|
||||
<p>新增千张场地</p>
|
||||
<p>新增牵张场地</p>
|
||||
</div>
|
||||
</button>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
<script src="../../../../js/my/aes.js"></script>
|
||||
<script src="../../../../js/ajaxRequest.js"></script>
|
||||
<script type="text/javascript" src="//api.map.baidu.com/api?type=webgl&v=3.0&ak=cClgLBaLgGUdQDilX9dGvieL"></script>
|
||||
<title>配置千张场地、区域经纬度</title>
|
||||
<title>配置牵张场地、区域经纬度</title>
|
||||
</head>
|
||||
<style>
|
||||
.custom-info-window {
|
||||
|
|
|
|||
|
|
@ -133,19 +133,19 @@
|
|||
<div class="open-drawer-box"></div>
|
||||
|
||||
<!-- 右上角切换按钮 -->
|
||||
<div class="switch-btn-box">
|
||||
<!-- <div class="switch-btn-box">
|
||||
<div class="switch-btn-item map-btn">
|
||||
地图
|
||||
</div>
|
||||
<div class="switch-btn-item mix-btn">
|
||||
混合
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
|
||||
<!-- 右上角全屏图标 -->
|
||||
<div class="full-screen-btn">
|
||||
<!-- <div class="full-screen-btn">
|
||||
<img src="../../img/digitalSignage/full-screen.png" alt="" />
|
||||
</div>
|
||||
</div> -->
|
||||
|
||||
|
||||
</div>
|
||||
|
|
|
|||