(data)
| 16 | return result; |
| 17 | }, |
| 18 | dataToLine (data) { |
| 19 | // csv 数据转line |
| 20 | const result = [] |
| 21 | for (const item of data) { |
| 22 | result.push([[Number(item.lng1), Number(item.lat1)], [Number(item.lng2), Number(item.lat2)]]) |
| 23 | } |
| 24 | return result; |
| 25 | }, |
| 26 | initEarth () { |
| 27 | Vue.component(`x-lineAndScatterEarth`, { |
| 28 | props: { |
nothing calls this directly
no outgoing calls
no test coverage detected