()
| 326 | }, |
| 327 | methods: { |
| 328 | drawPointerLayer () { |
| 329 | this.pointLayer = new L7.PointLayer({}).source(this.data, { |
| 330 | parser: { |
| 331 | type: 'csv', |
| 332 | y: 'lat', |
| 333 | x: 'lng' |
| 334 | } |
| 335 | }).size(this.option.size).color(this.option.color).style({ |
| 336 | stroke: this.option.stroke, |
| 337 | strokeWidth: this.option.strokeWidth, |
| 338 | opacity: this.option.opacity |
| 339 | }) |
| 340 | this.scene.addLayer(this.pointLayer) |
| 341 | }, |
| 342 | async initData () { |
| 343 | if (this.option.data.length === 0) { |
| 344 | const defaultData = await axios.get('./excel/pointerCity.text') |
nothing calls this directly
no outgoing calls
no test coverage detected