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

Function updateData

public/iframe/lib/js/mixinsMap.js:95–100  ·  view source on GitHub ↗
(layer, data)

Source from the content-addressed store, hash-verified

93 return lineLayer
94 },
95 updateData (layer, data) {
96 // 更新图层数据
97 if (layer) {
98 layer.setData(data)
99 }
100 },
101 updateStyle (layer, keyName, value, object3Dlayer, scene) {
102 // 更新图层样式
103 // layer 图层 keyName 更新的key值 value 更新的值

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected