* @function HeatMap.prototype.addFeatures * @description 添加热点信息。 * @param {(GeoJSONObject|Array. )} features - 待添加的要素数组。 * @example * var geojson = { * "type": "FeatureCollection", * "features": [ * { * "type": "featu
(features)
| 129 | * })); |
| 130 | */ |
| 131 | addFeatures(features) { |
| 132 | this.features = this.toiClientFeature(features); |
| 133 | //支持更新features,刷新底图 |
| 134 | this.changed(); |
| 135 | } |
| 136 | |
| 137 | /** |
| 138 | * @function HeatMap.prototype.setOpacity |
nothing calls this directly
no test coverage detected