xzw 1 周之前
父节点
当前提交
8a599f9e8f
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/sdk/cover/index.js

+ 2 - 2
src/sdk/cover/index.js

@@ -2297,7 +2297,7 @@ export const enter = ({ dom, mapDom, isLocal, lonlat, scenes, laserRoot, laserOS
                 changeName(name){ 
                     path.setTitle(name)
                 },
-                changePointName(index,name){
+                changePointName(index,name=''){
                     path.setMarkerTitle(index, name)
                 },
                 changePathPoints(points){
@@ -2631,7 +2631,7 @@ export const enter = ({ dom, mapDom, isLocal, lonlat, scenes, laserRoot, laserOS
                    // "lineColor": "#ffffff",
                     "lineAltitudeAboveGround": 5,
                    // "reverseDirection": false,
-                    "lineWidth": 0.5,
+                    "lineWidth": 0.4,
                     "name": pathDevices[i].name ,
                     "fontSize": 14,
                     "showDirection": true,