Skip to content

HeatmapFeature

HeatmapFeature

热力图要素类

继承BaseFeature

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

HeatmapFeatureOptions

热力图要素属性

Properties