Appearance
HeatmapFeature
HeatmapFeature
热力图要素类
Examples
javascript
const heatmapFeature = new DiMap.HeatmapFeature({
geoData: [116.405467, 39.907761],
heatmapValue: 10
})
const heatmapLayer = new DiMap.HeatmapLayer({ max: 100 })
heatmapFeature.addToLayer(heatmapLayer)
heatmapLayer.addToMap(map)constructor
Parameters
optsHeatmapFeatureOptions 热力图要素属性userDataRecord<string, any> 用户自定义数据 (optional, default{})
HeatmapFeatureOptions
热力图要素属性
