ol 10.5.1-dev.1745652838045 → 10.5.1-dev.1746262133835

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -126,38 +126,38 @@ export type ArgValidator = (arg0: Array<EncodedExpression>, arg1: number, arg2:
126
126
  * See below for details on the available operators (with notes for those that are WebGL or Canvas only).
127
127
  *
128
128
  * Reading operators:
129
- * `['band', bandIndex, xOffset, yOffset]` For tile layers only. Fetches pixel values from band
129
+ * * `['band', bandIndex, xOffset, yOffset]` For tile layers only. Fetches pixel values from band
130
130
  * `bandIndex` of the source's data. The first `bandIndex` of the source data is `1`. Fetched values
131
131
  * are in the 0..1 range. {@link import ("../source/TileImage.js").default} sources have 4 bands: red,
132
132
  * green, blue and alpha. {@link import ("../source/DataTile.js").default} sources can have any number
133
133
  * of bands, depending on the underlying data source and
134
134
  * {@link import ("../source/GeoTIFF.js").Options configuration}. `xOffset` and `yOffset` are optional
135
135
  * and allow specifying pixel offsets for x and y. This is used for sampling data from neighboring pixels (WebGL only).
136
- * `['get', attributeName]` fetches a feature property value, similar to `feature.get('attributeName')`.
137
- * `['get', attributeName, keyOrArrayIndex, ...]` (Canvas only) Access nested properties and array items of a
136
+ * * `['get', attributeName]` fetches a feature property value, similar to `feature.get('attributeName')`.
137
+ * * `['get', attributeName, keyOrArrayIndex, ...]` (Canvas only) Access nested properties and array items of a
138
138
  * feature property. The result is `undefined` when there is nothing at the specified key or index.
139
- * `['geometry-type']` returns a feature's geometry type as string, either: 'LineString', 'Point' or 'Polygon'
139
+ * * `['geometry-type']` returns a feature's geometry type as string, either: 'LineString', 'Point' or 'Polygon'
140
140
  * `Multi*` values are returned as their singular equivalent
141
141
  * `Circle` geometries are returned as 'Polygon'
142
142
  * `GeometryCollection` geometries are returned as the type of the first geometry found in the collection (WebGL only).
143
- * `['resolution']` returns the current resolution
144
- * `['time']` The time in seconds since the creation of the layer (WebGL only).
145
- * `['var', 'varName']` fetches a value from the style variables; will throw an error if that variable is undefined
146
- * `['zoom']` The current zoom level (WebGL only).
147
- * `['line-metric']` returns the M component of the current point on a line (WebGL only); in case where the geometry layout of the line
143
+ * * `['resolution']` returns the current resolution
144
+ * * `['time']` The time in seconds since the creation of the layer (WebGL only).
145
+ * * `['var', 'varName']` fetches a value from the style variables; will throw an error if that variable is undefined
146
+ * * `['zoom']` The current zoom level (WebGL only).
147
+ * * `['line-metric']` returns the M component of the current point on a line (WebGL only); in case where the geometry layout of the line
148
148
  * does not contain an M component (e.g. XY or XYZ), 0 is returned; 0 is also returned for geometries other than lines.
149
149
  * Please note that the M component will be linearly interpolated between the two points composing a segment.
150
150
  *
151
151
  * Math operators:
152
- * `['*', value1, value2, ...]` multiplies the values (either numbers or colors)
153
- * `['/', value1, value2]` divides `value1` by `value2`
154
- * `['+', value1, value2, ...]` adds the values
155
- * `['-', value1, value2]` subtracts `value2` from `value1`
156
- * `['clamp', value, low, high]` clamps `value` between `low` and `high`
157
- * `['%', value1, value2]` returns the result of `value1 % value2` (modulo)
158
- * `['^', value1, value2]` returns the value of `value1` raised to the `value2` power
159
- * `['abs', value1]` returns the absolute value of `value1`
160
- * `['floor', value1]` returns the nearest integer less than or equal to `value1`
152
+ * * `['*', value1, value2, ...]` multiplies the values (either numbers or colors)
153
+ * * `['/', value1, value2]` divides `value1` by `value2`
154
+ * * `['+', value1, value2, ...]` adds the values
155
+ * * `['-', value1, value2]` subtracts `value2` from `value1`
156
+ * * `['clamp', value, low, high]` clamps `value` between `low` and `high`
157
+ * * `['%', value1, value2]` returns the result of `value1 % value2` (modulo)
158
+ * * `['^', value1, value2]` returns the value of `value1` raised to the `value2` power
159
+ * * `['abs', value1]` returns the absolute value of `value1`
160
+ * * `['floor', value1]` returns the nearest integer less than or equal to `value1`
161
161
  * * `['round', value1]` returns the nearest integer to `value1`
162
162
  * * `['ceil', value1]` returns the nearest integer greater than or equal to `value1`
163
163
  * * `['sin', value1]` returns the sine of `value1`
@@ -19,38 +19,38 @@ import {toSize} from '../size.js';
19
19
  * See below for details on the available operators (with notes for those that are WebGL or Canvas only).
20
20
  *
21
21
  * Reading operators:
22
- * `['band', bandIndex, xOffset, yOffset]` For tile layers only. Fetches pixel values from band
22
+ * * `['band', bandIndex, xOffset, yOffset]` For tile layers only. Fetches pixel values from band
23
23
  * `bandIndex` of the source's data. The first `bandIndex` of the source data is `1`. Fetched values
24
24
  * are in the 0..1 range. {@link import("../source/TileImage.js").default} sources have 4 bands: red,
25
25
  * green, blue and alpha. {@link import("../source/DataTile.js").default} sources can have any number
26
26
  * of bands, depending on the underlying data source and
27
27
  * {@link import("../source/GeoTIFF.js").Options configuration}. `xOffset` and `yOffset` are optional
28
28
  * and allow specifying pixel offsets for x and y. This is used for sampling data from neighboring pixels (WebGL only).
29
- * `['get', attributeName]` fetches a feature property value, similar to `feature.get('attributeName')`.
30
- * `['get', attributeName, keyOrArrayIndex, ...]` (Canvas only) Access nested properties and array items of a
29
+ * * `['get', attributeName]` fetches a feature property value, similar to `feature.get('attributeName')`.
30
+ * * `['get', attributeName, keyOrArrayIndex, ...]` (Canvas only) Access nested properties and array items of a
31
31
  * feature property. The result is `undefined` when there is nothing at the specified key or index.
32
- * `['geometry-type']` returns a feature's geometry type as string, either: 'LineString', 'Point' or 'Polygon'
32
+ * * `['geometry-type']` returns a feature's geometry type as string, either: 'LineString', 'Point' or 'Polygon'
33
33
  * `Multi*` values are returned as their singular equivalent
34
34
  * `Circle` geometries are returned as 'Polygon'
35
35
  * `GeometryCollection` geometries are returned as the type of the first geometry found in the collection (WebGL only).
36
- * `['resolution']` returns the current resolution
37
- * `['time']` The time in seconds since the creation of the layer (WebGL only).
38
- * `['var', 'varName']` fetches a value from the style variables; will throw an error if that variable is undefined
39
- * `['zoom']` The current zoom level (WebGL only).
40
- * `['line-metric']` returns the M component of the current point on a line (WebGL only); in case where the geometry layout of the line
36
+ * * `['resolution']` returns the current resolution
37
+ * * `['time']` The time in seconds since the creation of the layer (WebGL only).
38
+ * * `['var', 'varName']` fetches a value from the style variables; will throw an error if that variable is undefined
39
+ * * `['zoom']` The current zoom level (WebGL only).
40
+ * * `['line-metric']` returns the M component of the current point on a line (WebGL only); in case where the geometry layout of the line
41
41
  * does not contain an M component (e.g. XY or XYZ), 0 is returned; 0 is also returned for geometries other than lines.
42
42
  * Please note that the M component will be linearly interpolated between the two points composing a segment.
43
43
  *
44
44
  * Math operators:
45
- * `['*', value1, value2, ...]` multiplies the values (either numbers or colors)
46
- * `['/', value1, value2]` divides `value1` by `value2`
47
- * `['+', value1, value2, ...]` adds the values
48
- * `['-', value1, value2]` subtracts `value2` from `value1`
49
- * `['clamp', value, low, high]` clamps `value` between `low` and `high`
50
- * `['%', value1, value2]` returns the result of `value1 % value2` (modulo)
51
- * `['^', value1, value2]` returns the value of `value1` raised to the `value2` power
52
- * `['abs', value1]` returns the absolute value of `value1`
53
- * `['floor', value1]` returns the nearest integer less than or equal to `value1`
45
+ * * `['*', value1, value2, ...]` multiplies the values (either numbers or colors)
46
+ * * `['/', value1, value2]` divides `value1` by `value2`
47
+ * * `['+', value1, value2, ...]` adds the values
48
+ * * `['-', value1, value2]` subtracts `value2` from `value1`
49
+ * * `['clamp', value, low, high]` clamps `value` between `low` and `high`
50
+ * * `['%', value1, value2]` returns the result of `value1 % value2` (modulo)
51
+ * * `['^', value1, value2]` returns the value of `value1` raised to the `value2` power
52
+ * * `['abs', value1]` returns the absolute value of `value1`
53
+ * * `['floor', value1]` returns the nearest integer less than or equal to `value1`
54
54
  * * `['round', value1]` returns the nearest integer to `value1`
55
55
  * * `['ceil', value1]` returns the nearest integer greater than or equal to `value1`
56
56
  * * `['sin', value1]` returns the sine of `value1`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ol",
3
- "version": "10.5.1-dev.1745652838045",
3
+ "version": "10.5.1-dev.1746262133835",
4
4
  "description": "OpenLayers mapping library",
5
5
  "keywords": [
6
6
  "map",
package/util.js CHANGED
@@ -33,4 +33,4 @@ export function getUid(obj) {
33
33
  * OpenLayers version.
34
34
  * @type {string}
35
35
  */
36
- export const VERSION = '10.5.1-dev.1745652838045';
36
+ export const VERSION = '10.5.1-dev.1746262133835';