@types/mapbox-gl
Advanced tools
Comparing version 0.54.4 to 0.54.5
@@ -254,7 +254,7 @@ // Type definitions for Mapbox GL JS v0.54.0 | ||
/** | ||
* If true, the gl context will be created with MSA antialiasing, which can be useful for antialiasing custom layers. | ||
* If true, the gl context will be created with MSA antialiasing, which can be useful for antialiasing custom layers. | ||
* This is false by default as a performance optimization. | ||
*/ | ||
antialias?: boolean; | ||
/** If true, an attribution control will be added to the map. */ | ||
@@ -1373,2 +1373,4 @@ attributionControl?: boolean; | ||
export type AnyLayout = BackgroundLayout | FillLayout | FillExtrusionLayout | LineLayout | SymbolLayout | RasterLayout | CircleLayout | HeatmapLayout | HillshadeLayout; | ||
export interface Layer { | ||
@@ -1391,3 +1393,3 @@ id: string; | ||
filter?: any[]; | ||
layout?: BackgroundLayout | FillLayout | FillExtrusionLayout | LineLayout | SymbolLayout | RasterLayout | CircleLayout | HeatmapLayout | HillshadeLayout; | ||
layout?: AnyLayout; | ||
paint?: BackgroundPaint | FillPaint | FillExtrusionPaint | LinePaint | SymbolPaint | RasterPaint | CirclePaint | HeatmapPaint | HillshadePaint; | ||
@@ -1476,6 +1478,11 @@ } | ||
export interface BackgroundLayout { | ||
visibility?: 'visible' | 'none'; | ||
type Visibility = 'visible' | 'none'; | ||
export interface Layout { | ||
visibility?: Visibility; | ||
} | ||
export interface BackgroundLayout extends Layout { | ||
} | ||
export interface BackgroundPaint { | ||
@@ -1490,4 +1497,3 @@ 'background-color'?: string | Expression; | ||
export interface FillLayout { | ||
visibility?: 'visible' | 'none'; | ||
export interface FillLayout extends Layout { | ||
} | ||
@@ -1510,4 +1516,3 @@ | ||
export interface FillExtrusionLayout { | ||
visibility?: 'visible' | 'none'; | ||
export interface FillExtrusionLayout extends Layout { | ||
} | ||
@@ -1532,5 +1537,3 @@ | ||
export interface LineLayout { | ||
visibility?: 'visible' | 'none'; | ||
export interface LineLayout extends Layout { | ||
'line-cap'?: 'butt' | 'round' | 'square'; | ||
@@ -1565,5 +1568,3 @@ 'line-join'?: 'bevel' | 'round' | 'miter' | Expression; | ||
export interface SymbolLayout { | ||
visibility?: 'visible' | 'none'; | ||
export interface SymbolLayout extends Layout { | ||
'symbol-placement'?: 'point' | 'line' | 'line-center'; | ||
@@ -1637,4 +1638,3 @@ 'symbol-spacing'?: number | Expression; | ||
export interface RasterLayout { | ||
visibility?: 'visible' | 'none'; | ||
export interface RasterLayout extends Layout { | ||
} | ||
@@ -1659,4 +1659,3 @@ | ||
export interface CircleLayout { | ||
visibility?: 'visible' | 'none'; | ||
export interface CircleLayout extends Layout { | ||
} | ||
@@ -1686,4 +1685,3 @@ | ||
export interface HeatmapLayout { | ||
visibility?: 'visible' | 'none'; | ||
export interface HeatmapLayout extends Layout { | ||
} | ||
@@ -1702,4 +1700,3 @@ | ||
export interface HillshadeLayout { | ||
visibility?: 'visible' | 'none'; | ||
export interface HillshadeLayout extends Layout { | ||
} | ||
@@ -1706,0 +1703,0 @@ |
{ | ||
"name": "@types/mapbox-gl", | ||
"version": "0.54.4", | ||
"version": "0.54.5", | ||
"description": "TypeScript definitions for Mapbox GL JS", | ||
@@ -44,4 +44,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "fa935bbee289ddbc50611b28425545a6fc79257a58f61cddea24e2b22f53d730", | ||
"typesPublisherContentHash": "6c00cc80bd267d900ce1df919545e970c46860e3a9c4b312c0ae42988d10d7ed", | ||
"typeScriptVersion": "3.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Tue, 24 Sep 2019 16:54:28 GMT | ||
* Last updated: Tue, 22 Oct 2019 20:22:51 GMT | ||
* Dependencies: @types/geojson | ||
@@ -14,0 +14,0 @@ * Global values: mapboxgl |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
57275
1282