| 程序包 | 说明 |
|---|---|
| com.amap.api.maps.model |
| 限定符和类型 | 字段和说明 |
|---|---|
static Gradient |
HeatMapLayerOptions.DEFAULT_GRADIENT
热力图默认渐变
Default gradient of heatmap |
static Gradient |
HeatmapTileProvider.DEFAULT_GRADIENT
热力图默认渐变
Default gradient of heatmap |
| 限定符和类型 | 方法和说明 |
|---|---|
Gradient |
HeatMapLayerOptions.getGradient()
获取颜色处理
Get color processing |
| 限定符和类型 | 方法和说明 |
|---|---|
HeatMapLayerOptions |
HeatMapLayerOptions.gradient(Gradient val)
设置热力图渐变,有默认值 DEFAULT_GRADIENT,可不设置该接口
Set the gradient of the heatmap, with default value DEFAULT_GRADIENT, this interface can be omitted |
HeatmapTileProvider.Builder |
HeatmapTileProvider.Builder.gradient(Gradient val)
设置热力图渐变,有默认值 DEFAULT_GRADIENT,可不设置该接口
Set the gradient of the heatmap, with default value DEFAULT_GRADIENT, this interface can be omitted |