wd 7 жил өмнө
parent
commit
90186b9846
1 өөрчлөгдсөн 8 нэмэгдсэн , 0 устгасан
  1. 8 0
      index.js

+ 8 - 0
index.js

@@ -630,6 +630,10 @@ export function lineContent(airspaceInfo) {
         }
 
         content.push(` - ${airspaceInfo.end_loc}${flyingCenter(airspaceInfo.start_point)}`)
+        if(isSafeString(airspaceInfo.airline_width)) {
+            content.push(`,宽度:${airspaceInfo.airline_width}米`)
+        }
+
         if(isSafeString(airspaceInfo.note)) {
             content.push(`, 备注: ${airspaceInfo.note}`)
         }
@@ -657,6 +661,10 @@ export function lineContent(airspaceInfo) {
             }
         }
         content.push(` - ${airspaceInfo.arrive.addr}(E${airspaceInfo.arrive.lng}, N${airspaceInfo.arrive.lat})`);
+        if(airspaceInfo.airlineWidth) {
+            content.push(`,宽度:${airspaceInfo.airlineWidth}米`)
+        }
+
         if (airspaceInfo.note)
             content.push(`, 备注:${airspaceInfo.note}`)
         content = content.join('');