* @private * @function WebMap.prototype.addDataflowFeature * @description 添加数据流的feature * @param {Object} feature - 服务器更新的feature * @param {string} identifyField - 标识feature的字段 * @param {Object} options - 其他参数
(feature, identifyField, options)
| 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 |
no test coverage detected