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

Method addDataflowFeature

src/openlayers/mapping/WebMap.js:3964–3971  ·  view source on GitHub ↗

* @private * @function WebMap.prototype.addDataflowFeature * @description 添加数据流的feature * @param {Object} feature - 服务器更新的feature * @param {string} identifyField - 标识feature的字段 * @param {Object} options - 其他参数

(feature, identifyField, options)

Source from the content-addressed store, hash-verified

3962 * @param {Object} options - 其他参数
3963 */
3964 addDataflowFeature(feature, identifyField, options) {
3965 options.dataflowSource &&
3966 this.addFeatureFromDataflowService(options.dataflowSource, feature, identifyField, options.featureCache);
3967 options.labelSource &&
3968 this.addFeatureFromDataflowService(options.labelSource, feature, identifyField, options.labelFeatureCache);
3969 options.pathSource &&
3970 this.addPathFeature(options.pathSource, feature, identifyField, options.pathFeatureCache, options.maxPointCount);
3971 }
3972 /**
3973 * @private
3974 * @function WebMap.prototype.addPathFeature

Callers 2

createDataflowLayerMethod · 0.80

Calls 2

addPathFeatureMethod · 0.95

Tested by

no test coverage detected