()
| 800 | }, |
| 801 | |
| 802 | drawCityBuildingLayer () { |
| 803 | this.CityBuildingLayer = new L7.CityBuildingLayer({ |
| 804 | zIndex: 0 |
| 805 | }).source(this.data) |
| 806 | .size('height', [0, 500]) |
| 807 | .color(this.option.color) |
| 808 | .animate({ |
| 809 | enable: this.option.enableCity |
| 810 | }) |
| 811 | .style({ |
| 812 | opacity: this.option.opacity, |
| 813 | baseColor: this.option.baseColor, |
| 814 | windowColor: this.option.windowColor, |
| 815 | brightColor: this.option.brightColor, |
| 816 | }); |
| 817 | this.scene.addLayer(this.CityBuildingLayer) |
| 818 | }, |
| 819 | async initData () { |
| 820 | if (this.option.data.length === 0) { |
| 821 | let defaultData |
nothing calls this directly
no outgoing calls
no test coverage detected