Skip to content

Commit 86b0c2d

Browse files
committed
Website updates
1 parent 37adfa3 commit 86b0c2d

File tree

1,191 files changed

+2670
-2696
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,191 files changed

+2670
-2696
lines changed

dist/en/main/apidoc/module-ol_control_defaults.html

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -204,12 +204,10 @@ <h4 class="name">
204204
<div class="description">
205205
<p>Set of controls included in maps by default. Unless configured otherwise,
206206
this returns a collection containing an instance of each of the following
207-
controls:</p>
208-
<ul>
209-
<li><a href="module-ol_control_Zoom-Zoom.html"><code>Zoom</code></a></li>
210-
<li><a href="module-ol_control_Rotate-Rotate.html"><code>Rotate</code></a></li>
211-
<li><a href="module-ol_control_Attribution-Attribution.html"><code>Attribution</code></a></li>
212-
</ul>
207+
controls:
208+
<a href="module-ol_control_Zoom-Zoom.html"><code>Zoom</code></a>
209+
<a href="module-ol_control_Rotate-Rotate.html"><code>Rotate</code></a>
210+
<a href="module-ol_control_Attribution-Attribution.html"><code>Attribution</code></a></p>
213211
</div>
214212

215213

dist/en/main/apidoc/module-ol_expr_expression.html

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -364,50 +364,50 @@ <h4 class="name">
364364
<p>Base type used for literal style parameters; can be a number literal or the output of an operator,
365365
which in turns takes <a href="module-ol_expr_expression.html#~ExpressionValue"><code>ExpressionValue</code></a> arguments.</p>
366366
<p>See below for details on the available operators (with notes for those that are WebGL or Canvas only).</p>
367+
<p>Reading operators:
368+
<code>['band', bandIndex, xOffset, yOffset]</code> For tile layers only. Fetches pixel values from band
369+
<code>bandIndex</code> of the source's data. The first <code>bandIndex</code> of the source data is <code>1</code>. Fetched values
370+
are in the 0..1 range. <a href="module-ol_source_TileImage-TileImage.html"><code>TileImage</code></a> sources have 4 bands: red,
371+
green, blue and alpha. <a href="module-ol_source_DataTile-DataTileSource.html"><code>DataTileSource</code></a> sources can have any number
372+
of bands, depending on the underlying data source and
373+
<a href="module-ol_source_GeoTIFF.html#~Options"><code>configuration</code></a>. <code>xOffset</code> and <code>yOffset</code> are optional
374+
and allow specifying pixel offsets for x and y. This is used for sampling data from neighboring pixels (WebGL only).
375+
<code>['get', attributeName]</code> fetches a feature property value, similar to <code>feature.get('attributeName')</code>.
376+
<code>['get', attributeName, keyOrArrayIndex, ...]</code> (Canvas only) Access nested properties and array items of a
377+
feature property. The result is <code>undefined</code> when there is nothing at the specified key or index.
378+
<code>['geometry-type']</code> returns a feature's geometry type as string, either: 'LineString', 'Point' or 'Polygon'
379+
<code>Multi*</code> values are returned as their singular equivalent
380+
<code>Circle</code> geometries are returned as 'Polygon'
381+
<code>GeometryCollection</code> geometries are returned as the type of the first geometry found in the collection (WebGL only).
382+
<code>['resolution']</code> returns the current resolution
383+
<code>['time']</code> The time in seconds since the creation of the layer (WebGL only).
384+
<code>['var', 'varName']</code> fetches a value from the style variables; will throw an error if that variable is undefined
385+
<code>['zoom']</code> The current zoom level (WebGL only).
386+
<code>['line-metric']</code> returns the M component of the current point on a line (WebGL only); in case where the geometry layout of the line
387+
does not contain an M component (e.g. XY or XYZ), 0 is returned; 0 is also returned for geometries other than lines.
388+
Please note that the M component will be linearly interpolated between the two points composing a segment.</p>
389+
<p>Math operators:
390+
<code>['*', value1, value2, ...]</code> multiplies the values (either numbers or colors)
391+
<code>['/', value1, value2]</code> divides <code>value1</code> by <code>value2</code>
392+
<code>['+', value1, value2, ...]</code> adds the values
393+
<code>['-', value1, value2]</code> subtracts <code>value2</code> from <code>value1</code>
394+
<code>['clamp', value, low, high]</code> clamps <code>value</code> between <code>low</code> and <code>high</code>
395+
<code>['%', value1, value2]</code> returns the result of <code>value1 % value2</code> (modulo)
396+
<code>['^', value1, value2]</code> returns the value of <code>value1</code> raised to the <code>value2</code> power
397+
<code>['abs', value1]</code> returns the absolute value of <code>value1</code>
398+
<code>['floor', value1]</code> returns the nearest integer less than or equal to <code>value1</code></p>
367399
<ul>
368-
<li><p>Reading operators:</p>
369-
<ul>
370-
<li><code>['band', bandIndex, xOffset, yOffset]</code> For tile layers only. Fetches pixel values from band
371-
<code>bandIndex</code> of the source's data. The first <code>bandIndex</code> of the source data is <code>1</code>. Fetched values
372-
are in the 0..1 range. <a href="module-ol_source_TileImage-TileImage.html"><code>TileImage</code></a> sources have 4 bands: red,
373-
green, blue and alpha. <a href="module-ol_source_DataTile-DataTileSource.html"><code>DataTileSource</code></a> sources can have any number
374-
of bands, depending on the underlying data source and
375-
<a href="module-ol_source_GeoTIFF.html#~Options"><code>configuration</code></a>. <code>xOffset</code> and <code>yOffset</code> are optional
376-
and allow specifying pixel offsets for x and y. This is used for sampling data from neighboring pixels (WebGL only).</li>
377-
<li><code>['get', attributeName]</code> fetches a feature property value, similar to <code>feature.get('attributeName')</code>.</li>
378-
<li><code>['get', attributeName, keyOrArrayIndex, ...]</code> (Canvas only) Access nested properties and array items of a
379-
feature property. The result is <code>undefined</code> when there is nothing at the specified key or index.</li>
380-
<li><code>['geometry-type']</code> returns a feature's geometry type as string, either: 'LineString', 'Point' or 'Polygon'
381-
<code>Multi*</code> values are returned as their singular equivalent
382-
<code>Circle</code> geometries are returned as 'Polygon'
383-
<code>GeometryCollection</code> geometries are returned as the type of the first geometry found in the collection (WebGL only).</li>
384-
<li><code>['resolution']</code> returns the current resolution</li>
385-
<li><code>['time']</code> The time in seconds since the creation of the layer (WebGL only).</li>
386-
<li><code>['var', 'varName']</code> fetches a value from the style variables; will throw an error if that variable is undefined</li>
387-
<li><code>['zoom']</code> The current zoom level (WebGL only).</li>
388-
<li><code>['line-metric']</code> returns the M component of the current point on a line (WebGL only); in case where the geometry layout of the line
389-
does not contain an M component (e.g. XY or XYZ), 0 is returned; 0 is also returned for geometries other than lines.
390-
Please note that the M component will be linearly interpolated between the two points composing a segment.</li>
391-
</ul>
400+
<li><p><code>['round', value1]</code> returns the nearest integer to <code>value1</code></p>
392401
</li>
393-
<li><p>Math operators:</p>
394-
<ul>
395-
<li><code>['*', value1, value2, ...]</code> multiplies the values (either numbers or colors)</li>
396-
<li><code>['/', value1, value2]</code> divides <code>value1</code> by <code>value2</code></li>
397-
<li><code>['+', value1, value2, ...]</code> adds the values</li>
398-
<li><code>['-', value1, value2]</code> subtracts <code>value2</code> from <code>value1</code></li>
399-
<li><code>['clamp', value, low, high]</code> clamps <code>value</code> between <code>low</code> and <code>high</code></li>
400-
<li><code>['%', value1, value2]</code> returns the result of <code>value1 % value2</code> (modulo)</li>
401-
<li><code>['^', value1, value2]</code> returns the value of <code>value1</code> raised to the <code>value2</code> power</li>
402-
<li><code>['abs', value1]</code> returns the absolute value of <code>value1</code></li>
403-
<li><code>['floor', value1]</code> returns the nearest integer less than or equal to <code>value1</code></li>
404-
<li><code>['round', value1]</code> returns the nearest integer to <code>value1</code></li>
405-
<li><code>['ceil', value1]</code> returns the nearest integer greater than or equal to <code>value1</code></li>
406-
<li><code>['sin', value1]</code> returns the sine of <code>value1</code></li>
407-
<li><code>['cos', value1]</code> returns the cosine of <code>value1</code></li>
408-
<li><code>['atan', value1, value2]</code> returns <code>atan2(value1, value2)</code>. If <code>value2</code> is not provided, returns <code>atan(value1)</code></li>
409-
<li><code>['sqrt', value1]</code> returns the square root of <code>value1</code></li>
410-
</ul>
402+
<li><p><code>['ceil', value1]</code> returns the nearest integer greater than or equal to <code>value1</code></p>
403+
</li>
404+
<li><p><code>['sin', value1]</code> returns the sine of <code>value1</code></p>
405+
</li>
406+
<li><p><code>['cos', value1]</code> returns the cosine of <code>value1</code></p>
407+
</li>
408+
<li><p><code>['atan', value1, value2]</code> returns <code>atan2(value1, value2)</code>. If <code>value2</code> is not provided, returns <code>atan(value1)</code></p>
409+
</li>
410+
<li><p><code>['sqrt', value1]</code> returns the square root of <code>value1</code></p>
411411
</li>
412412
<li><p>Transform operators:</p>
413413
<ul>

dist/en/main/apidoc/module-ol_interaction_defaults.html

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -210,18 +210,16 @@ <h4 class="name">
210210
them into a <a href="module-ol_Collection-Collection.html"><code>Collection</code></a> in the order you want
211211
before creating your <a href="module-ol_Map-Map.html"><code>Map</code></a> instance. Changing the order can
212212
be of interest if the event propagation needs to be stopped at a point.
213-
The default set of interactions, in sequence, is:</p>
214-
<ul>
215-
<li><a href="module-ol_interaction_DragRotate-DragRotate.html"><code>DragRotate</code></a></li>
216-
<li><a href="module-ol_interaction_DoubleClickZoom-DoubleClickZoom.html"><code>DoubleClickZoom</code></a></li>
217-
<li><a href="module-ol_interaction_DragPan-DragPan.html"><code>DragPan</code></a></li>
218-
<li><a href="module-ol_interaction_PinchRotate-PinchRotate.html"><code>PinchRotate</code></a></li>
219-
<li><a href="module-ol_interaction_PinchZoom-PinchZoom.html"><code>PinchZoom</code></a></li>
220-
<li><a href="module-ol_interaction_KeyboardPan-KeyboardPan.html"><code>KeyboardPan</code></a></li>
221-
<li><a href="module-ol_interaction_KeyboardZoom-KeyboardZoom.html"><code>KeyboardZoom</code></a></li>
222-
<li><a href="module-ol_interaction_MouseWheelZoom-MouseWheelZoom.html"><code>MouseWheelZoom</code></a></li>
223-
<li><a href="module-ol_interaction_DragZoom-DragZoom.html"><code>DragZoom</code></a></li>
224-
</ul>
213+
The default set of interactions, in sequence, is:
214+
<a href="module-ol_interaction_DragRotate-DragRotate.html"><code>DragRotate</code></a>
215+
<a href="module-ol_interaction_DoubleClickZoom-DoubleClickZoom.html"><code>DoubleClickZoom</code></a>
216+
<a href="module-ol_interaction_DragPan-DragPan.html"><code>DragPan</code></a>
217+
<a href="module-ol_interaction_PinchRotate-PinchRotate.html"><code>PinchRotate</code></a>
218+
<a href="module-ol_interaction_PinchZoom-PinchZoom.html"><code>PinchZoom</code></a>
219+
<a href="module-ol_interaction_KeyboardPan-KeyboardPan.html"><code>KeyboardPan</code></a>
220+
<a href="module-ol_interaction_KeyboardZoom-KeyboardZoom.html"><code>KeyboardZoom</code></a>
221+
<a href="module-ol_interaction_MouseWheelZoom-MouseWheelZoom.html"><code>MouseWheelZoom</code></a>
222+
<a href="module-ol_interaction_DragZoom-DragZoom.html"><code>DragZoom</code></a></p>
225223
</div>
226224

227225

dist/en/main/apidoc/module-ol_layer_VectorTile-VectorTileLayer.html

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -558,16 +558,14 @@ <h4 class="name">
558558

559559
<td class="description last">
560560

561-
<p>Render mode for vector tiles:</p>
562-
<ul>
563-
<li><code>'hybrid'</code>: Polygon and line elements are rendered as images, so pixels are scaled during zoom
564-
animations. Point symbols and texts are accurately rendered as vectors and can stay upright on
565-
rotated views, but get lifted above all polygon and line elements.</li>
566-
<li><code>'vector'</code>: Everything is rendered as vectors and the original render order is maintained. Use
567-
this mode for improved performance and visual epxerience on vector tile layers with not too many
568-
rendered features (e.g. for highlighting a subset of features of another layer with the same
569-
source).</li>
570-
</ul></td>
561+
<p>Render mode for vector tiles:
562+
<code>'hybrid'</code>: Polygon and line elements are rendered as images, so pixels are scaled during zoom
563+
animations. Point symbols and texts are accurately rendered as vectors and can stay upright on
564+
rotated views, but get lifted above all polygon and line elements.
565+
<code>'vector'</code>: Everything is rendered as vectors and the original render order is maintained. Use
566+
this mode for improved performance and visual epxerience on vector tile layers with not too many
567+
rendered features (e.g. for highlighting a subset of features of another layer with the same
568+
source).</p></td>
571569
</tr>
572570

573571

dist/en/main/apidoc/module-ol_layer_VectorTile.html

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -507,16 +507,14 @@ <h5 class="subsection-title">Properties:</h5>
507507
</td>
508508

509509
<td class="description last">
510-
<p>Render mode for vector tiles:</p>
511-
<ul>
512-
<li><code>'hybrid'</code>: Polygon and line elements are rendered as images, so pixels are scaled during zoom
513-
animations. Point symbols and texts are accurately rendered as vectors and can stay upright on
514-
rotated views, but get lifted above all polygon and line elements.</li>
515-
<li><code>'vector'</code>: Everything is rendered as vectors and the original render order is maintained. Use
516-
this mode for improved performance and visual epxerience on vector tile layers with not too many
517-
rendered features (e.g. for highlighting a subset of features of another layer with the same
518-
source).</li>
519-
</ul>
510+
<p>Render mode for vector tiles:
511+
<code>'hybrid'</code>: Polygon and line elements are rendered as images, so pixels are scaled during zoom
512+
animations. Point symbols and texts are accurately rendered as vectors and can stay upright on
513+
rotated views, but get lifted above all polygon and line elements.
514+
<code>'vector'</code>: Everything is rendered as vectors and the original render order is maintained. Use
515+
this mode for improved performance and visual epxerience on vector tile layers with not too many
516+
rendered features (e.g. for highlighting a subset of features of another layer with the same
517+
source).</p>
520518

521519
</td>
522520
</tr>

dist/en/main/apidoc/module-ol_proj_Projection-Projection.html

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -123,17 +123,15 @@ <h2 class="my-3">
123123
instance.</p>
124124
<p>The library includes support for transforming coordinates between the following
125125
projections:</p>
126-
<ul>
127-
<li>WGS 84 / Geographic - Using codes <code>EPSG:4326</code>, <code>CRS:84</code>, <code>urn:ogc:def:crs:EPSG:6.6:4326</code>,
128-
<code>urn:ogc:def:crs:OGC:1.3:CRS84</code>, <code>urn:ogc:def:crs:OGC:2:84</code>, <code>http://www.opengis.net/gml/srs/epsg.xml#4326</code>,
129-
or <code>urn:x-ogc:def:crs:EPSG:4326</code></li>
130-
<li>WGS 84 / Spherical Mercator - Using codes <code>EPSG:3857</code>, <code>EPSG:102100</code>, <code>EPSG:102113</code>, <code>EPSG:900913</code>,
131-
<code>urn:ogc:def:crs:EPSG:6.18:3:3857</code>, or <code>http://www.opengis.net/gml/srs/epsg.xml#3857</code></li>
132-
<li>WGS 84 / UTM zones - Using codes <code>EPSG:32601</code> through <code>EPSG:32660</code> for northern zones
133-
and <code>EPSG:32701</code> through <code>EPSG:32760</code> for southern zones. Note that the built-in UTM transforms
134-
are lower accuracy (with errors on the order of 0.1 m) than those that you might get in a
135-
library like <a href="https://github.com/proj4js/proj4js">proj4js</a>.</li>
136-
</ul>
126+
<p> WGS 84 / Geographic - Using codes <code>EPSG:4326</code>, <code>CRS:84</code>, <code>urn:ogc:def:crs:EPSG:6.6:4326</code>,
127+
<code>urn:ogc:def:crs:OGC:1.3:CRS84</code>, <code>urn:ogc:def:crs:OGC:2:84</code>, <code>http://www.opengis.net/gml/srs/epsg.xml#4326</code>,
128+
or <code>urn:x-ogc:def:crs:EPSG:4326</code>
129+
WGS 84 / Spherical Mercator - Using codes <code>EPSG:3857</code>, <code>EPSG:102100</code>, <code>EPSG:102113</code>, <code>EPSG:900913</code>,
130+
<code>urn:ogc:def:crs:EPSG:6.18:3:3857</code>, or <code>http://www.opengis.net/gml/srs/epsg.xml#3857</code>
131+
WGS 84 / UTM zones - Using codes <code>EPSG:32601</code> through <code>EPSG:32660</code> for northern zones
132+
and <code>EPSG:32701</code> through <code>EPSG:32760</code> for southern zones. Note that the built-in UTM transforms
133+
are lower accuracy (with errors on the order of 0.1 m) than those that you might get in a
134+
library like <a href="https://github.com/proj4js/proj4js">proj4js</a>.</p>
137135
<p>For additional projection support, or to use higher accuracy transforms than the built-in ones, you can use
138136
the <a href="https://github.com/proj4js/proj4js">proj4js</a> library. With <code>proj4js</code>, after adding any new projection
139137
definitions, call the <a href="module-ol_proj_proj4.html#.register"><code>register</code></a> function.</p>

dist/en/main/apidoc/module-ol_render_Feature.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -274,9 +274,7 @@ <h4 class="name">
274274

275275
<span class="param-type">string</span>
276276

277-
278-
279-
(defaults to 'geometry')
277+
| undefined
280278

281279

282280
</td>

dist/en/main/apidoc/module-ol_renderer_webgl_PointsLayer-WebGLPointsLayerRenderer.html

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -326,12 +326,10 @@ <h4 class="name">
326326
<td class="description last">
327327

328328
<p>These attributes will be read from the features in the source and then
329-
passed to the GPU. The <code>name</code> property of each attribute will serve as its identifier:</p>
330-
<ul>
331-
<li>In the vertex shader as an <code>attribute</code> by prefixing it with <code>a_</code></li>
332-
<li>In the fragment shader as a <code>varying</code> by prefixing it with <code>v_</code>
333-
Please note that these can only be numerical values.</li>
334-
</ul></td>
329+
passed to the GPU. The <code>name</code> property of each attribute will serve as its identifier:
330+
In the vertex shader as an <code>attribute</code> by prefixing it with <code>a_</code>
331+
In the fragment shader as a <code>varying</code> by prefixing it with <code>v_</code>
332+
Please note that these can only be numerical values.</p></td>
335333
</tr>
336334

337335

dist/en/main/apidoc/module-ol_renderer_webgl_PointsLayer.html

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -523,12 +523,10 @@ <h5 class="subsection-title">Properties:</h5>
523523

524524
<td class="description last">
525525
<p>These attributes will be read from the features in the source and then
526-
passed to the GPU. The <code>name</code> property of each attribute will serve as its identifier:</p>
527-
<ul>
528-
<li>In the vertex shader as an <code>attribute</code> by prefixing it with <code>a_</code></li>
529-
<li>In the fragment shader as a <code>varying</code> by prefixing it with <code>v_</code>
530-
Please note that these can only be numerical values.</li>
531-
</ul>
526+
passed to the GPU. The <code>name</code> property of each attribute will serve as its identifier:
527+
In the vertex shader as an <code>attribute</code> by prefixing it with <code>a_</code>
528+
In the fragment shader as a <code>varying</code> by prefixing it with <code>v_</code>
529+
Please note that these can only be numerical values.</p>
532530

533531
</td>
534532
</tr>

dist/en/main/apidoc/module-ol_source_Source.html

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -274,12 +274,10 @@ <h4 class="name">
274274

275275
<div class="description">
276276
<p>A type that can be used to provide attribution information for data sources.</p>
277-
<p>It represents either</p>
278-
<ul>
279-
<li>a simple string (e.g. <code>'© Acme Inc.'</code>)</li>
280-
<li>an array of simple strings (e.g. <code>['© Acme Inc.', '© Bacme Inc.']</code>)</li>
281-
<li>a function that returns a string or array of strings (<a href="module-ol_source_Source.html#~Attribution"><code>Attribution</code></a>)</li>
282-
</ul>
277+
<p>It represents either
278+
a simple string (e.g. <code>'© Acme Inc.'</code>)
279+
an array of simple strings (e.g. <code>['© Acme Inc.', '© Bacme Inc.']</code>)
280+
a function that returns a string or array of strings (<a href="module-ol_source_Source.html#~Attribution"><code>Attribution</code></a>)</p>
283281
</div>
284282

285283

0 commit comments

Comments
 (0)