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

Method update

src/leaflet/overlay/mapv/MapVRenderer.js:151–163  ·  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

149 * @param {Object} opt.options - mapv 绘制参数。
150 */
151 update(opt) {
152 var update = opt || {};
153 var _data = update.data;
154 if (_data && _data.get) {
155 _data = _data.get();
156 }
157 if (_data != undefined) {
158 this.dataSet.set(_data);
159 }
160 super.update({
161 options: update.options
162 });
163 }
164
165 /**
166 * @function MapVRenderer.prototype.getData

Callers 15

addDataMethod · 0.95
setDataMethod · 0.95
removeDataMethod · 0.95
clearDataMethod · 0.95
addDataMethod · 0.95
removeDataMethod · 0.95
clearDataMethod · 0.95
ImageMapLayer.jsFile · 0.45
GraphicLayer.jsFile · 0.45
removeGraphicsFunction · 0.45
HeatMapLayer.jsFile · 0.45

Calls 2

getMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected