MCPcopy Create free account
hub / github.com/MankaiHuang/screen-visualization / drawCityBuildingLayer

Function drawCityBuildingLayer

public/iframe/lib/js/mixinsMap.js:802–818  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected