()
| 256 | this.scene.addLayer(this.pointLayer) |
| 257 | }, |
| 258 | async initData () { |
| 259 | if (this.option.data.length === 0) { |
| 260 | const defaultData = await axios.get('https://gw.alipayobjects.com/os/basement_prod/9078fd36-ce8d-4ee2-91bc-605db8315fdf.csv') |
| 261 | this.data = defaultData.data |
| 262 | } else { |
| 263 | this.data = this.option.data |
| 264 | } |
| 265 | }, |
| 266 | init () { |
| 267 | const mapConfig = { |
| 268 | style: "amap://styles/7e3bb5bc6ed4019b2fe41a29167fd026", // 样式URL |
nothing calls this directly
no outgoing calls
no test coverage detected