Appearance
title: ftPointHeatmap
ftHeatmap
ftPointHeatMap
Kind: global class
Version: 1.0.0
new ftPointHeatMap(opts)
生成热力图
Returns: Mesh
- 根据参数返回热力图
Param | Type | Description |
---|---|---|
opts | object | 参数。包括 geojson 点集、canvas 宽和高,维度、热力图参数 |
opts.features | Array | geojson 点集 |
opts.canvasWidth | number | canvas 宽 |
opts.canvasHeight | number | canvas 高 |
opts.heatmapOption | object | 热力图参数 |
opts.pointRadius | number | 热力图点热力点的半径 |
opts.pointInterval | number | 热力图点之间的间隔 |
Example
js
ftthree.ftPointHeatMap({
features,
canvasWidth,
canvasHeight,
heatmapOption,
height,
pointRadius,
pointInterval
});