Skip to content

Commit 9e8fb7d

Browse files
committed
Website updates
1 parent b9d6cd2 commit 9e8fb7d

File tree

10 files changed

+198
-74
lines changed

10 files changed

+198
-74
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ <h4 class="name">
188188

189189
<div class="tag-source">
190190
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/renderer/webgl/PointsLayer.js">renderer/webgl/PointsLayer.js</a>,
191-
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/renderer/webgl/PointsLayer.js#L124">line 124</a>
191+
<a href="https://github.com/openlayers/openlayers/blob/main/src/ol/renderer/webgl/PointsLayer.js#L127">line 127</a>
192192
</div>
193193

194194
</div>

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

Lines changed: 98 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@
7474
<li data-name="customattribute"><a href="module-ol_renderer_webgl_PointsLayer.html#~CustomAttribute">CustomAttribute</a>
7575
<li data-name="featurecacheitem"><a href="module-ol_renderer_webgl_PointsLayer.html#~FeatureCacheItem">FeatureCacheItem</a>
7676
<li data-name="options"><a href="module-ol_renderer_webgl_PointsLayer.html#~Options">Options</a>
77+
<li data-name="point"><a href="module-ol_renderer_webgl_PointsLayer.html#~Point">Point</a>
78+
<li data-name="pointfeature"><a href="module-ol_renderer_webgl_PointsLayer.html#~PointFeature">PointFeature</a>
7779
</ul>
7880
</div>
7981
<li class="loading">Loading …
@@ -350,7 +352,7 @@ <h5 class="subsection-title">Properties:</h5>
350352
<td class="type">
351353

352354

353-
<span class="param-type"><a href="module-ol_Feature-Feature.html">Feature</a></span>
355+
<span class="param-type"><a href="module-ol_renderer_webgl_PointsLayer.html#~PointFeature">PointFeature</a></span>
354356

355357

356358

@@ -390,21 +392,21 @@ <h5 class="subsection-title">Properties:</h5>
390392

391393
<tr>
392394

393-
<td class="name"><code>geometry</code></td>
395+
<td class="name"><code>flatCoordinates</code></td>
394396

395397

396398
<td class="type">
397399

398400

399-
<span class="param-type">Geometry</span>
401+
<span class="param-type"><a href="module-ol_coordinate.html#~Coordinate">Coordinate</a></span>
400402

401403

402404

403405

404406
</td>
405407

406408
<td class="description last">
407-
<p>Feature geometry</p>
409+
<p>Point coordinates</p>
408410

409411
</td>
410412
</tr>
@@ -670,6 +672,98 @@ <h5 class="subsection-title">Properties:</h5>
670672

671673

672674

675+
676+
677+
</dl>
678+
679+
680+
681+
</dd>
682+
683+
684+
685+
<dt class="">
686+
<div class="nameContainer">
687+
<div class="anchor" id="~Point">
688+
</div>
689+
<h4 class="name">
690+
Point<span class="type-signature type module:ol/geom/point~point">{<a href="module-ol_geom_Point-Point.html">Point</a>}</span>
691+
692+
693+
</h4>
694+
</div>
695+
696+
</dt>
697+
<dd class="">
698+
699+
700+
701+
<dl class="details">
702+
703+
704+
705+
706+
707+
708+
709+
710+
711+
712+
713+
714+
715+
716+
717+
718+
719+
720+
721+
722+
723+
</dl>
724+
725+
726+
727+
</dd>
728+
729+
730+
731+
<dt class="">
732+
<div class="nameContainer">
733+
<div class="anchor" id="~PointFeature">
734+
</div>
735+
<h4 class="name">
736+
PointFeature<span class="type-signature type module:ol/feature~feature.<module:ol/renderer/webgl/pointslayer~point>">{<a href="module-ol_Feature-Feature.html">Feature</a>&lt;<a href="module-ol_renderer_webgl_PointsLayer.html#~Point">Point</a>>}</span>
737+
738+
739+
</h4>
740+
</div>
741+
742+
</dt>
743+
<dd class="">
744+
745+
746+
747+
<dl class="details">
748+
749+
750+
751+
752+
753+
754+
755+
756+
757+
758+
759+
760+
761+
762+
763+
764+
765+
766+
673767

674768

675769
</dl>

dist/en/main/apidoc/navigation.tmpl.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4950,6 +4950,8 @@
49504950
<li data-name="customattribute"><a href="module-ol_renderer_webgl_PointsLayer.html#~CustomAttribute">CustomAttribute</a>
49514951
<li data-name="featurecacheitem"><a href="module-ol_renderer_webgl_PointsLayer.html#~FeatureCacheItem">FeatureCacheItem</a>
49524952
<li data-name="options"><a href="module-ol_renderer_webgl_PointsLayer.html#~Options">Options</a>
4953+
<li data-name="point"><a href="module-ol_renderer_webgl_PointsLayer.html#~Point">Point</a>
4954+
<li data-name="pointfeature"><a href="module-ol_renderer_webgl_PointsLayer.html#~PointFeature">PointFeature</a>
49534955
</ul>
49544956
</div>
49554957
<li class="item item-class" data-longname="module:ol/renderer/webgl/TileLayer~WebGLTileLayerRenderer" data-name="ol/renderer/webgl/tilelayer">

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/renderer/webgl/PointsLayer.d.ts

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
export default WebGLPointsLayerRenderer;
2+
export type Point = import("../../geom/Point.js").default;
3+
export type PointFeature = import("../../Feature").default<Point>;
24
/**
35
* A description of a custom attribute to be passed on to the GPU, with a value different
46
* for each feature.
@@ -12,7 +14,7 @@ export type CustomAttribute = {
1214
* This callback computes the numerical value of the
1315
* attribute for a given feature (properties are available as 2nd arg for quicker access).
1416
*/
15-
callback: (arg0: import("../../Feature").default, arg1: {
17+
callback: (arg0: PointFeature, arg1: {
1618
[x: string]: any;
1719
}) => number;
1820
};
@@ -24,17 +26,17 @@ export type FeatureCacheItem = {
2426
/**
2527
* Feature
2628
*/
27-
feature: import("../../Feature").default;
29+
feature: PointFeature;
2830
/**
2931
* Feature properties
3032
*/
3133
properties: {
3234
[x: string]: any;
3335
};
3436
/**
35-
* Feature geometry
37+
* Point coordinates
3638
*/
37-
geometry: import("../../geom").Geometry;
39+
flatCoordinates: import("../../coordinate.js").Coordinate;
3840
};
3941
export type Options = {
4042
/**
@@ -73,19 +75,21 @@ export type Options = {
7375
*/
7476
postProcesses?: import("./Layer.js").PostProcessesOptions[] | undefined;
7577
};
78+
/** @typedef {import("../../geom/Point.js").default} Point */
79+
/** @typedef {import("../../Feature").default<Point>} PointFeature */
7680
/**
7781
* @typedef {Object} CustomAttribute A description of a custom attribute to be passed on to the GPU, with a value different
7882
* for each feature.
7983
* @property {string} name Attribute name.
80-
* @property {function(import("../../Feature").default, Object<string, *>):number} callback This callback computes the numerical value of the
84+
* @property {function(PointFeature, Object<string, *>):number} callback This callback computes the numerical value of the
8185
* attribute for a given feature (properties are available as 2nd arg for quicker access).
8286
*/
8387
/**
8488
* @typedef {Object} FeatureCacheItem Object that holds a reference to a feature, its geometry and properties. Used to optimize
8589
* rebuildBuffers by accessing these objects quicker.
86-
* @property {import("../../Feature").default} feature Feature
90+
* @property {PointFeature} feature Feature
8791
* @property {Object<string, *>} properties Feature properties
88-
* @property {import("../../geom").Geometry} geometry Feature geometry
92+
* @property {import("../../coordinate.js").Coordinate} flatCoordinates Point coordinates
8993
*/
9094
/**
9195
* @typedef {Object} Options

dist/en/main/ol/renderer/webgl/PointsLayer.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.

0 commit comments

Comments
 (0)