Browse Source

Merge branch 'fix_polygon' into 'master'

fix content

See merge request BA/amap-shapes-generator!29
王冬 7 years ago
parent
commit
56db0d2e95
1 changed files with 1 additions and 1 deletions
  1. 1 1
      index.ts

+ 1 - 1
index.ts

@@ -1343,7 +1343,7 @@ export function polygonContent(airspaceInfo: AirspaceInfoPolygon, type=3): strin
         let cc = content.join('、') + `${length}点连线范围内`
         cc += `,${getHeight(airspaceInfo.height, airspaceInfo.heightStandard, type)}`
         if (airspaceInfo.note)
-            cc = `${content},备注:${airspaceInfo.note}`
+            cc += `,备注:${airspaceInfo.note}`
         return cc;
     }
 }