MCPcopy Index your code
hub / github.com/SuperMap/iClient-JavaScript / update

Method update

src/common/overlay/mapv/MapvRenderer.js:105–117  ·  view source on GitHub ↗

* @function MapvRenderer.prototype.update * @description 更新图层。 * @param {Object} opt - 待更新的数据。 * @param {Object} opt.data - mapv 数据集。 * @param {Object} opt.options - mapv 绘制参数。

(opt)

Source from the content-addressed store, hash-verified

103 * @param {Object} opt.options - mapv 绘制参数。
104 */
105 update(opt) {
106 var update = opt || {};
107 var _data = update.data;
108 if (_data && _data.get) {
109 _data = _data.get();
110 }
111 if (_data != undefined) {
112 this.dataSet.set(_data);
113 }
114 super.update({
115 options: update.options
116 });
117 }
118
119 /**
120 * @function MapvRenderer.prototype.getData

Callers 10

addDataMethod · 0.95
removeDataMethod · 0.95
clearDataMethod · 0.95
updateDataMethod · 0.95
jquery.jsFile · 0.45
_updateRasterSourceMethod · 0.45
_updateRasterSourceMethod · 0.45
_updateMethod · 0.45
AESGCMDecryptFunction · 0.45
AESGCMEncryptFunction · 0.45

Calls 2

getMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected