Skip to content

Commit 065fdae

Browse files
committed
Website updates
1 parent b008448 commit 065fdae

File tree

17 files changed

+34
-25
lines changed

17 files changed

+34
-25
lines changed

dist/3rd-party/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<i class="fa fa-sitemap me-1"></i>API
4848
</a>
4949
<div class="dropdown-menu dropdown-menu-end mb-3" aria-labelledby="apidropdown">
50-
<a class="dropdown-item" href="/en/latest/apidoc/"><i class="fa fa-sitemap fa-fw me-2 fa-lg"></i>v10.6.1 (latest)</a>
50+
<a class="dropdown-item" href="/en/latest/apidoc/"><i class="fa fa-sitemap fa-fw me-2 fa-lg"></i>v10.6.0 (latest)</a>
5151
<a class="dropdown-item" href="/en/v9.2.4/apidoc/"><i class="fa fa-sitemap a-fw me-2 fa-lg"></i>v9.2.4</a>
5252
<a class="dropdown-item" href="/en/v8.2.0/apidoc/"><i class="fa fa-sitemap a-fw me-2 fa-lg"></i>v8.2.0</a>
5353
<a class="dropdown-item" href="/en/v7.5.2/apidoc/"><i class="fa fa-sitemap a-fw me-2 fa-lg"></i>v7.5.2</a>

dist/doc/errors/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<i class="fa fa-sitemap me-1"></i>API
4848
</a>
4949
<div class="dropdown-menu dropdown-menu-end mb-3" aria-labelledby="apidropdown">
50-
<a class="dropdown-item" href="/en/latest/apidoc/"><i class="fa fa-sitemap fa-fw me-2 fa-lg"></i>v10.6.1 (latest)</a>
50+
<a class="dropdown-item" href="/en/latest/apidoc/"><i class="fa fa-sitemap fa-fw me-2 fa-lg"></i>v10.6.0 (latest)</a>
5151
<a class="dropdown-item" href="/en/v9.2.4/apidoc/"><i class="fa fa-sitemap a-fw me-2 fa-lg"></i>v9.2.4</a>
5252
<a class="dropdown-item" href="/en/v8.2.0/apidoc/"><i class="fa fa-sitemap a-fw me-2 fa-lg"></i>v8.2.0</a>
5353
<a class="dropdown-item" href="/en/v7.5.2/apidoc/"><i class="fa fa-sitemap a-fw me-2 fa-lg"></i>v7.5.2</a>

dist/doc/faq.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<i class="fa fa-sitemap me-1"></i>API
4848
</a>
4949
<div class="dropdown-menu dropdown-menu-end mb-3" aria-labelledby="apidropdown">
50-
<a class="dropdown-item" href="/en/latest/apidoc/"><i class="fa fa-sitemap fa-fw me-2 fa-lg"></i>v10.6.1 (latest)</a>
50+
<a class="dropdown-item" href="/en/latest/apidoc/"><i class="fa fa-sitemap fa-fw me-2 fa-lg"></i>v10.6.0 (latest)</a>
5151
<a class="dropdown-item" href="/en/v9.2.4/apidoc/"><i class="fa fa-sitemap a-fw me-2 fa-lg"></i>v9.2.4</a>
5252
<a class="dropdown-item" href="/en/v8.2.0/apidoc/"><i class="fa fa-sitemap a-fw me-2 fa-lg"></i>v8.2.0</a>
5353
<a class="dropdown-item" href="/en/v7.5.2/apidoc/"><i class="fa fa-sitemap a-fw me-2 fa-lg"></i>v7.5.2</a>

dist/doc/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<i class="fa fa-sitemap me-1"></i>API
4848
</a>
4949
<div class="dropdown-menu dropdown-menu-end mb-3" aria-labelledby="apidropdown">
50-
<a class="dropdown-item" href="/en/latest/apidoc/"><i class="fa fa-sitemap fa-fw me-2 fa-lg"></i>v10.6.1 (latest)</a>
50+
<a class="dropdown-item" href="/en/latest/apidoc/"><i class="fa fa-sitemap fa-fw me-2 fa-lg"></i>v10.6.0 (latest)</a>
5151
<a class="dropdown-item" href="/en/v9.2.4/apidoc/"><i class="fa fa-sitemap a-fw me-2 fa-lg"></i>v9.2.4</a>
5252
<a class="dropdown-item" href="/en/v8.2.0/apidoc/"><i class="fa fa-sitemap a-fw me-2 fa-lg"></i>v8.2.0</a>
5353
<a class="dropdown-item" href="/en/v7.5.2/apidoc/"><i class="fa fa-sitemap a-fw me-2 fa-lg"></i>v7.5.2</a>

dist/doc/quickstart.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<i class="fa fa-sitemap me-1"></i>API
4848
</a>
4949
<div class="dropdown-menu dropdown-menu-end mb-3" aria-labelledby="apidropdown">
50-
<a class="dropdown-item" href="/en/latest/apidoc/"><i class="fa fa-sitemap fa-fw me-2 fa-lg"></i>v10.6.1 (latest)</a>
50+
<a class="dropdown-item" href="/en/latest/apidoc/"><i class="fa fa-sitemap fa-fw me-2 fa-lg"></i>v10.6.0 (latest)</a>
5151
<a class="dropdown-item" href="/en/v9.2.4/apidoc/"><i class="fa fa-sitemap a-fw me-2 fa-lg"></i>v9.2.4</a>
5252
<a class="dropdown-item" href="/en/v8.2.0/apidoc/"><i class="fa fa-sitemap a-fw me-2 fa-lg"></i>v8.2.0</a>
5353
<a class="dropdown-item" href="/en/v7.5.2/apidoc/"><i class="fa fa-sitemap a-fw me-2 fa-lg"></i>v7.5.2</a>

dist/doc/tutorials/background.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<i class="fa fa-sitemap me-1"></i>API
4848
</a>
4949
<div class="dropdown-menu dropdown-menu-end mb-3" aria-labelledby="apidropdown">
50-
<a class="dropdown-item" href="/en/latest/apidoc/"><i class="fa fa-sitemap fa-fw me-2 fa-lg"></i>v10.6.1 (latest)</a>
50+
<a class="dropdown-item" href="/en/latest/apidoc/"><i class="fa fa-sitemap fa-fw me-2 fa-lg"></i>v10.6.0 (latest)</a>
5151
<a class="dropdown-item" href="/en/v9.2.4/apidoc/"><i class="fa fa-sitemap a-fw me-2 fa-lg"></i>v9.2.4</a>
5252
<a class="dropdown-item" href="/en/v8.2.0/apidoc/"><i class="fa fa-sitemap a-fw me-2 fa-lg"></i>v8.2.0</a>
5353
<a class="dropdown-item" href="/en/v7.5.2/apidoc/"><i class="fa fa-sitemap a-fw me-2 fa-lg"></i>v7.5.2</a>

dist/doc/tutorials/concepts.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<i class="fa fa-sitemap me-1"></i>API
4848
</a>
4949
<div class="dropdown-menu dropdown-menu-end mb-3" aria-labelledby="apidropdown">
50-
<a class="dropdown-item" href="/en/latest/apidoc/"><i class="fa fa-sitemap fa-fw me-2 fa-lg"></i>v10.6.1 (latest)</a>
50+
<a class="dropdown-item" href="/en/latest/apidoc/"><i class="fa fa-sitemap fa-fw me-2 fa-lg"></i>v10.6.0 (latest)</a>
5151
<a class="dropdown-item" href="/en/v9.2.4/apidoc/"><i class="fa fa-sitemap a-fw me-2 fa-lg"></i>v9.2.4</a>
5252
<a class="dropdown-item" href="/en/v8.2.0/apidoc/"><i class="fa fa-sitemap a-fw me-2 fa-lg"></i>v8.2.0</a>
5353
<a class="dropdown-item" href="/en/v7.5.2/apidoc/"><i class="fa fa-sitemap a-fw me-2 fa-lg"></i>v7.5.2</a>

dist/doc/tutorials/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<i class="fa fa-sitemap me-1"></i>API
4848
</a>
4949
<div class="dropdown-menu dropdown-menu-end mb-3" aria-labelledby="apidropdown">
50-
<a class="dropdown-item" href="/en/latest/apidoc/"><i class="fa fa-sitemap fa-fw me-2 fa-lg"></i>v10.6.1 (latest)</a>
50+
<a class="dropdown-item" href="/en/latest/apidoc/"><i class="fa fa-sitemap fa-fw me-2 fa-lg"></i>v10.6.0 (latest)</a>
5151
<a class="dropdown-item" href="/en/v9.2.4/apidoc/"><i class="fa fa-sitemap a-fw me-2 fa-lg"></i>v9.2.4</a>
5252
<a class="dropdown-item" href="/en/v8.2.0/apidoc/"><i class="fa fa-sitemap a-fw me-2 fa-lg"></i>v8.2.0</a>
5353
<a class="dropdown-item" href="/en/v7.5.2/apidoc/"><i class="fa fa-sitemap a-fw me-2 fa-lg"></i>v7.5.2</a>

dist/doc/tutorials/raster-reprojection.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<i class="fa fa-sitemap me-1"></i>API
4848
</a>
4949
<div class="dropdown-menu dropdown-menu-end mb-3" aria-labelledby="apidropdown">
50-
<a class="dropdown-item" href="/en/latest/apidoc/"><i class="fa fa-sitemap fa-fw me-2 fa-lg"></i>v10.6.1 (latest)</a>
50+
<a class="dropdown-item" href="/en/latest/apidoc/"><i class="fa fa-sitemap fa-fw me-2 fa-lg"></i>v10.6.0 (latest)</a>
5151
<a class="dropdown-item" href="/en/v9.2.4/apidoc/"><i class="fa fa-sitemap a-fw me-2 fa-lg"></i>v9.2.4</a>
5252
<a class="dropdown-item" href="/en/v8.2.0/apidoc/"><i class="fa fa-sitemap a-fw me-2 fa-lg"></i>v8.2.0</a>
5353
<a class="dropdown-item" href="/en/v7.5.2/apidoc/"><i class="fa fa-sitemap a-fw me-2 fa-lg"></i>v7.5.2</a>

dist/download/index.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<i class="fa fa-sitemap me-1"></i>API
4848
</a>
4949
<div class="dropdown-menu dropdown-menu-end mb-3" aria-labelledby="apidropdown">
50-
<a class="dropdown-item" href="/en/latest/apidoc/"><i class="fa fa-sitemap fa-fw me-2 fa-lg"></i>v10.6.1 (latest)</a>
50+
<a class="dropdown-item" href="/en/latest/apidoc/"><i class="fa fa-sitemap fa-fw me-2 fa-lg"></i>v10.6.0 (latest)</a>
5151
<a class="dropdown-item" href="/en/v9.2.4/apidoc/"><i class="fa fa-sitemap a-fw me-2 fa-lg"></i>v9.2.4</a>
5252
<a class="dropdown-item" href="/en/v8.2.0/apidoc/"><i class="fa fa-sitemap a-fw me-2 fa-lg"></i>v8.2.0</a>
5353
<a class="dropdown-item" href="/en/v7.5.2/apidoc/"><i class="fa fa-sitemap a-fw me-2 fa-lg"></i>v7.5.2</a>
@@ -90,8 +90,8 @@ <h3 class="col-sm-12">Hosted build for development</h3>
9090
<div class="col-sm-12">
9191
<p>
9292
If you want to try out OpenLayers without downloading anything (<b>not recommended for production</b>), include the following in the head of your html page:
93-
<pre><code class="language-html">&lt;script src="https://cdn.jsdelivr.net/npm/[email protected].1/dist/ol.js"&gt;&lt;/script&gt;
94-
&lt;link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected].1/ol.css"&gt;
93+
<pre><code class="language-html">&lt;script src="https://cdn.jsdelivr.net/npm/[email protected].0/dist/ol.js"&gt;&lt;/script&gt;
94+
&lt;link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected].0/ol.css"&gt;
9595
</code></pre>
9696
</p>
9797
<p>
@@ -100,25 +100,25 @@ <h3 class="col-sm-12">Hosted build for development</h3>
100100
</div>
101101
</div>
102102
<div class="row">
103-
<h3 class="col-sm-12">Downloads for the v10.6.1 release</h3>
103+
<h3 class="col-sm-12">Downloads for the v10.6.0 release</h3>
104104
</div>
105105
<div class="row">
106106
<div class="col-sm-12">
107107
<table class="table table-hover">
108108
<tbody>
109109
<tr><th>Archive</th><th>Description</th></tr>
110110
<tr>
111-
<td><a href="https://github.com/openlayers/openlayers/releases/download/v10.6.1/v10.6.1-site.zip">v10.6.1-site.zip</a></td>
111+
<td><a href="https://github.com/openlayers/openlayers/releases/download/v10.6.0/v10.6.0-site.zip">v10.6.0-site.zip</a></td>
112112
<td>Includes examples and documentation.</td>
113113
</tr>
114114
<tr>
115-
<td><a href="https://github.com/openlayers/openlayers/releases/download/v10.6.1/v10.6.1-package.zip">v10.6.1-package.zip</a></td>
115+
<td><a href="https://github.com/openlayers/openlayers/releases/download/v10.6.0/v10.6.0-package.zip">v10.6.0-package.zip</a></td>
116116
<td>Includes sources and the full build of the library.</td>
117117
</tr>
118118
</tbody>
119119
</table>
120120
<p>
121-
See the <a href="https://github.com/openlayers/openlayers/releases/tag/v10.6.1">v10.6.1 release page</a> for a changelog and any special upgrade notes.
121+
See the <a href="https://github.com/openlayers/openlayers/releases/tag/v10.6.0">v10.6.0 release page</a> for a changelog and any special upgrade notes.
122122
</p>
123123
<p>
124124
For archives of previous releases, see the <a href="https://github.com/openlayers/openlayers/releases/">complete list of releases</a>.

dist/en/main/examples/common.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/examples/common.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/ol/dist/ol.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/ol/dist/ol.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/ol/expr/gpu.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/en/main/ol/expr/gpu.js

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import {
1414
Ops,
1515
SizeType,
1616
StringType,
17+
isType,
1718
parse,
1819
typeName,
1920
} from './expression.js';
@@ -226,7 +227,11 @@ const compilers = {
226227
type: expression.type,
227228
};
228229
}
229-
return 'a_prop_' + propName;
230+
let result = 'a_prop_' + propName;
231+
if (isType(expression.type, BooleanType)) {
232+
result = `(${result} > 0.0)`;
233+
}
234+
return result;
230235
},
231236
[Ops.Id]: (context) => {
232237
context.featureId = true;
@@ -247,7 +252,11 @@ const compilers = {
247252
type: expression.type,
248253
};
249254
}
250-
return uniformNameForVariable(varName);
255+
let result = uniformNameForVariable(varName);
256+
if (isType(expression.type, BooleanType)) {
257+
result = `(${result} > 0.0)`;
258+
}
259+
return result;
251260
},
252261
[Ops.Has]: (context, expression) => {
253262
const firstArg = /** @type {LiteralExpression} */ (expression.args[0]);

dist/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<i class="fa fa-sitemap me-1"></i>API
4949
</a>
5050
<div class="dropdown-menu dropdown-menu-end mb-3" aria-labelledby="apidropdown">
51-
<a class="dropdown-item" href="/en/latest/apidoc/"><i class="fa fa-sitemap fa-fw me-2 fa-lg"></i>v10.6.1 (latest)</a>
51+
<a class="dropdown-item" href="/en/latest/apidoc/"><i class="fa fa-sitemap fa-fw me-2 fa-lg"></i>v10.6.0 (latest)</a>
5252
<a class="dropdown-item" href="/en/v9.2.4/apidoc/"><i class="fa fa-sitemap a-fw me-2 fa-lg"></i>v9.2.4</a>
5353
<a class="dropdown-item" href="/en/v8.2.0/apidoc/"><i class="fa fa-sitemap a-fw me-2 fa-lg"></i>v8.2.0</a>
5454
<a class="dropdown-item" href="/en/v7.5.2/apidoc/"><i class="fa fa-sitemap a-fw me-2 fa-lg"></i>v7.5.2</a>
@@ -77,7 +77,7 @@
7777
<div class='row' id='news'>
7878
<div class='col-sm-12'>
7979
<h1 class='topic'><i class='fa fa-rss'></i> Latest</h1>
80-
<p><strong>OpenLayers <a href="/download/">v10.6.1</a> is here!</strong> Check out the <a href="/doc/">docs</a> and the <a href="/en/latest/examples/">examples</a> to get started. The full distribution can be downloaded from the <a href="/download/">release page</a>.</p>
80+
<p><strong>OpenLayers <a href="/download/">v10.6.0</a> is here!</strong> Check out the <a href="/doc/">docs</a> and the <a href="/en/latest/examples/">examples</a> to get started. The full distribution can be downloaded from the <a href="/download/">release page</a>.</p>
8181
</div>
8282
</div>
8383
<div class='row'>

0 commit comments

Comments
 (0)