MCPcopy Create free account
hub / github.com/SuperMap/iClient-JavaScript / addFeatures

Method addFeatures

src/openlayers/overlay/HeatMap.js:131–135  ·  view source on GitHub ↗

* @function HeatMap.prototype.addFeatures * @description 添加热点信息。 * @param {(GeoJSONObject|Array. )} features - 待添加的要素数组。 * @example * var geojson = { * "type": "FeatureCollection", * "features": [ * { * "type": "featu

(features)

Source from the content-addressed store, hash-verified

129 * }));
130 */
131 addFeatures(features) {
132 this.features = this.toiClientFeature(features);
133 //支持更新features,刷新底图
134 this.changed();
135 }
136
137 /**
138 * @function HeatMap.prototype.setOpacity

Callers

nothing calls this directly

Calls 1

toiClientFeatureMethod · 0.95

Tested by

no test coverage detected