Function addHeatmap
- addHeatmap(
map: Map,
options: HeatmapLayerOptions,
): { heatmapLayerId: string; heatmapSourceId: string }Parameters
- map: Map
Map instance to add a heatmap layer to
- options: HeatmapLayerOptions
Returns { heatmapLayerId: string; heatmapSourceId: string }
heatmapLayerId: string
ID of the heatmap layer
heatmapSourceId: string
ID of the data source
- map: Map
Was this helpful?
Add a polyline witgh optional outline from a GeoJSON object