add heatmap to layer types (added in 0.41.0)

This commit is contained in:
Scott Thompson
2017-11-14 12:22:08 -05:00
parent 8fe3a6bcec
commit ea1c4c3764

View File

@@ -901,7 +901,7 @@ declare namespace mapboxgl {
export interface Layer {
id: string;
type?: "fill" | "line" | "symbol" | "circle" | "fill-extrusion" | "raster" | "background";
type?: "fill" | "line" | "symbol" | "circle" | "fill-extrusion" | "raster" | "background" | "heatmap";
metadata?: any;
ref?: string;