@mapbox/mapbox-gl-style-spec
Advanced tools
Comparing version 13.0.1 to 13.1.0
@@ -0,1 +1,7 @@ | ||
## 13.1.0 | ||
## ✨ Features and improvements | ||
* Add `raster-resampling` raster paint property ([#6411](https://github.com/mapbox/mapbox-gl-js/pull/6411)) (h/t [andrewharvey](https://github.com/andrewharvey)) | ||
* Add `symbol-placement: line-center` ([#6821](https://github.com/mapbox/mapbox-gl-js/pull/6821)) | ||
## 13.0.1 | ||
@@ -2,0 +8,0 @@ |
@@ -31,3 +31,3 @@ // @flow | ||
case '<=': | ||
return filter.length === 3 && (Array.isArray(filter[1]) || Array.isArray(filter[2])); | ||
return filter.length !== 3 || (Array.isArray(filter[1]) || Array.isArray(filter[2])); | ||
@@ -157,2 +157,1 @@ case 'any': | ||
} | ||
@@ -206,3 +206,3 @@ // Generated code; do not edit. Edit build/generate-flow-typed-style-spec.js instead. | ||
"layout"?: {| | ||
"symbol-placement"?: PropertyValueSpecification<"point" | "line">, | ||
"symbol-placement"?: PropertyValueSpecification<"point" | "line" | "line-center">, | ||
"symbol-spacing"?: PropertyValueSpecification<number>, | ||
@@ -353,2 +353,3 @@ "symbol-avoid-edges"?: PropertyValueSpecification<boolean>, | ||
"raster-contrast"?: PropertyValueSpecification<number>, | ||
"raster-resampling"?: PropertyValueSpecification<"linear" | "nearest">, | ||
"raster-fade-duration"?: PropertyValueSpecification<number> | ||
@@ -355,0 +356,0 @@ |} |
{ | ||
"name": "@mapbox/mapbox-gl-style-spec", | ||
"description": "a specification for mapbox gl styles", | ||
"version": "13.0.1", | ||
"version": "13.1.0", | ||
"author": "Mapbox", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
// @flow | ||
type ExpressionType = 'data-driven' | 'cross-faded' | 'cross-faded-data-driven' | 'color-ramp' | 'data-constant' | 'constant'; | ||
type ExpressionParameters = Array<'zoom' | 'feature' | 'heatmap-density' | 'line-progress'>; | ||
type ExpressionParameters = Array<'zoom' | 'feature' | 'feature-state' | 'heatmap-density' | 'line-progress'>; | ||
@@ -6,0 +6,0 @@ type ExpressionSpecification = { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
1382583
105
19629