Skip to content

Commit

Permalink
Website updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ahocevar committed Nov 21, 2023
1 parent 0b1dc40 commit e7f2fbf
Show file tree
Hide file tree
Showing 16 changed files with 32 additions and 23 deletions.
6 changes: 3 additions & 3 deletions dist/en/main/apidoc/module-ol_expr_expression.html
Original file line number Diff line number Diff line change
Expand Up @@ -455,9 +455,9 @@ <h4 class="name">
<ul>
<li><code>['array', value1, ...valueN]</code> creates a numerical array from <code>number</code> values; please note that the amount of
values can currently only be 2, 3 or 4.</li>
<li><code>['color', red, green, blue, alpha]</code> creates a <code>color</code> value from <code>number</code> values; the <code>alpha</code> parameter is
optional; if not specified, it will be set to 1.
Note: <code>red</code>, <code>green</code> and <code>blue</code> components must be values between 0 and 255; <code>alpha</code> between 0 and 1.</li>
<li><code>['color', red, green, blue, alpha]</code> or <code>['color', shade, alpha]</code> creates a <code>color</code> value from <code>number</code> values;
the <code>alpha</code> parameter is optional; if not specified, it will be set to 1.
Note: <code>red</code>, <code>green</code> and <code>blue</code> or <code>shade</code> components must be values between 0 and 255; <code>alpha</code> between 0 and 1.</li>
<li><code>['palette', index, colors]</code> picks a <code>color</code> value from an array of colors using the given index; the <code>index</code>
expression must evaluate to a number; the items in the <code>colors</code> array must be strings with hex colors
(e.g. <code>'#86A136'</code>), colors using the rgba[a] functional notation (e.g. <code>'rgb(134, 161, 54)'</code> or <code>'rgba(134, 161, 54, 1)'</code>),
Expand Down
2 changes: 1 addition & 1 deletion dist/en/main/examples/common.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/en/main/examples/common.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/en/main/examples/offscreen-canvas.worker.worker.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dist/en/main/examples/pmtiles-elevation.html
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ <h5 class="source-heading">main.js</h5>
[&#x27;*&#x27;, [&#x27;sin&#x27;, sunEl], [&#x27;cos&#x27;, slope]],
[&#x27;*&#x27;, [&#x27;cos&#x27;, sunEl], [&#x27;sin&#x27;, slope], [&#x27;cos&#x27;, [&#x27;-&#x27;, sunAz, aspect]]],
];
const scaled &#x3D; [&#x27;*&#x27;, 255, incidence];

const variables &#x3D; {};

Expand All @@ -245,7 +246,7 @@ <h5 class="source-heading">main.js</h5>
}),
style: {
variables: variables,
color: [&#x27;array&#x27;, incidence, incidence, incidence, 1],
color: [&#x27;color&#x27;, scaled],
},
});

Expand Down
2 changes: 1 addition & 1 deletion dist/en/main/examples/pmtiles-elevation.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e7f2fbf

Please sign in to comment.