* @function HeatMapLayer.prototype.refresh * @description 强制刷新当前热点显示,在图层热点数组发生变化后调用,更新显示。
()
| 157 | * @description 强制刷新当前热点显示,在图层热点数组发生变化后调用,更新显示。 |
| 158 | */ |
| 159 | refresh() { |
| 160 | if (this.map) { |
| 161 | this.renderer.setExtent(this.map.getBounds()); |
| 162 | this.renderer.refresh(); |
| 163 | } |
| 164 | } |
| 165 | |
| 166 | /** |
| 167 | * @function HeatMapLayer.prototype.setOpacity |