Appearance
title: ftHeatmap ?
ftHeatmap ?
ftHeatMap ?
Kind: global class
Version: 1.0.0
new ftHeatMap(opts) ?
生成熱力圖
Returns: Mesh - 根據(jù)參數(shù)返回?zé)崃D
| Param | Type | Description |
|---|---|---|
| opts | object | 參數(shù)。包括 geojson 點集、canvas 寬和高,維度、熱力圖參數(shù)、3d 熱力圖高度 |
| opts.features | Array | geojson 點集 |
| opts.canvasWidth | number | canvas 寬 |
| opts.canvasHeight | number | canvas 高 |
| opts.dimension | string | 維度 '2d' |
| opts.heatmapOption | object | 熱力圖參數(shù) |
| opts.height | object | 3D 熱力圖高度 |
Example
js
ftthree.ftHeatMap({
features,
canvasWidth,
canvasHeight,
dimension,
heatmapOption,
height
});