xzw 1 week ago
parent
commit
8a599f9e8f
1 changed files with 2 additions and 2 deletions
  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,