Appearance
title: ftPointHeatmap ?
ftHeatmap ?
ftPointHeatMap ?
Kind: global class
Version: 1.0.0
new ftPointHeatMap(opts) ?
生成熱力圖
Returns: Mesh - 根據(jù)參數(shù)返回?zé)崃D
| Param | Type | Description |
|---|---|---|
| opts | object | 參數(shù)。包括 geojson 點(diǎn)集、canvas 寬和高,維度、熱力圖參數(shù) |
| opts.features | Array | geojson 點(diǎn)集 |
| opts.canvasWidth | number | canvas 寬 |
| opts.canvasHeight | number | canvas 高 |
| opts.heatmapOption | object | 熱力圖參數(shù) |
| opts.pointRadius | number | 熱力圖點(diǎn)熱力點(diǎn)的半徑 |
| opts.pointInterval | number | 熱力圖點(diǎn)之間的間隔 |
Example
js
ftthree.ftPointHeatMap({
features,
canvasWidth,
canvasHeight,
heatmapOption,
height,
pointRadius,
pointInterval
});