guoshilong
2022-09-22 1f055395e53198dd6b6e45bda18b2cc919c8d3db
src/components/OpenLayersMap/index.vue
@@ -113,6 +113,7 @@
    },
    // 添加线路
    addLineDraw(toData) {
      console.log(toData,'11111111')
      // toData = 'LINESTRING(115.90505364627936 28.740342332731327,115.9119724729309 28.74040302419318,115.90766337913915 28.73566909016844)'
      if (toData) {
        // 将数据库点坐标数据转换