ol-mapbox-style
Advanced tools
Comparing version 2.8.1 to 2.8.2
@@ -183,7 +183,7 @@ /* | ||
element.style.backgroundColor = | ||
glfun(paint['background-color'], {function: 'piecewise-constant'})(zoom); | ||
glfun(paint['background-color'], {function: 'piecewise-constant', type: 'color'})(zoom); | ||
} | ||
if ('background-opacity' in paint) { | ||
element.style.backgroundOpacity = | ||
glfun(paint['background-opacity'], {function: 'interpolated'})(zoom); | ||
glfun(paint['background-opacity'], {function: 'interpolated', type: 'number'})(zoom); | ||
} | ||
@@ -190,0 +190,0 @@ if (layout.visibility == 'none') { |
{ | ||
"name": "ol-mapbox-style", | ||
"version": "2.8.1", | ||
"version": "2.8.2", | ||
"description": "Create OpenLayers maps from Mapbox Style objects", | ||
@@ -51,3 +51,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"@mapbox/mapbox-gl-style-spec": "^9.0.0", | ||
"@mapbox/mapbox-gl-style-spec": "^10.1.0", | ||
"mapbox-to-css-font": "^2.1.0", | ||
@@ -54,0 +54,0 @@ "mapbox-to-ol-style": "^3.2.5", |
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
3081425
+ Added@mapbox/mapbox-gl-style-spec@10.1.0(transitive)
+ Added@mapbox/unitbezier@0.0.0(transitive)
+ Addedacorn@3.3.07.4.1(transitive)
+ Addedacorn-jsx@3.0.1(transitive)
+ Addedacorn-object-spread@1.0.0(transitive)
+ Addedansi-regex@2.1.1(transitive)
+ Addedansi-styles@2.2.1(transitive)
+ Addedbabylon@6.18.0(transitive)
+ Addedbrfs@1.6.1(transitive)
+ Addedbuble@0.15.2(transitive)
+ Addedbubleify@0.7.0(transitive)
+ Addedbuffer-equal@0.0.1(transitive)
+ Addedbuffer-from@1.1.2(transitive)
+ Addedchalk@1.1.3(transitive)
+ Addedconcat-stream@1.6.2(transitive)
+ Addedconvert-source-map@1.9.0(transitive)
+ Addedcore-util-is@1.0.3(transitive)
+ Addeddeep-is@0.1.4(transitive)
+ Addedduplexer2@0.1.4(transitive)
+ Addedescape-string-regexp@1.0.5(transitive)
+ Addedescodegen@1.9.12.1.0(transitive)
+ Addedesprima@3.1.34.0.1(transitive)
+ Addedestraverse@4.3.05.3.0(transitive)
+ Addedesutils@2.0.3(transitive)
+ Addedfalafel@2.2.5(transitive)
+ Addedfast-levenshtein@2.0.6(transitive)
+ Addedflow-remove-types@1.2.3(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedhas@1.0.4(transitive)
+ Addedhas-ansi@2.0.0(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedin-publish@2.0.1(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedis-core-module@2.15.1(transitive)
+ Addedisarray@1.0.02.0.5(transitive)
+ Addedlevn@0.3.0(transitive)
+ Addedmagic-string@0.14.00.22.5(transitive)
+ Addedmerge-source-map@1.0.4(transitive)
+ Addedminimist@1.2.8(transitive)
+ Addedobject-assign@4.1.1(transitive)
+ Addedobject-inspect@1.4.1(transitive)
+ Addedoptionator@0.8.3(transitive)
+ Addedos-homedir@1.0.2(transitive)
+ Addedpath-parse@1.0.7(transitive)
+ Addedprelude-ls@1.1.2(transitive)
+ Addedprocess-nextick-args@2.0.1(transitive)
+ Addedquote-stream@1.0.2(transitive)
+ Addedreadable-stream@2.3.8(transitive)
+ Addedresolve@1.22.8(transitive)
+ Addedsafe-buffer@5.1.2(transitive)
+ Addedshallow-copy@0.0.1(transitive)
+ Addedsource-map@0.5.70.6.1(transitive)
+ Addedstatic-eval@2.1.1(transitive)
+ Addedstatic-module@2.2.5(transitive)
+ Addedstring_decoder@1.1.1(transitive)
+ Addedstrip-ansi@3.0.1(transitive)
+ Addedsupports-color@2.0.0(transitive)
+ Addedsupports-preserve-symlinks-flag@1.0.0(transitive)
+ Addedthrough@2.3.8(transitive)
+ Addedthrough2@2.0.5(transitive)
+ Addedtype-check@0.3.2(transitive)
+ Addedtypedarray@0.0.6(transitive)
+ Addedunflowify@1.0.1(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
+ Addedvlq@0.2.3(transitive)
+ Addedword-wrap@1.2.5(transitive)
+ Addedxtend@4.0.2(transitive)