Olivier Guyot
|
9e35acaa0a
|
Adapt the batch renderers to trigger a repaint after buffer rebuild
|
2022-07-15 22:33:52 +02:00 |
|
burleight
|
8769ea519e
|
WebGL / render multiple worlds to wrap X in vector renderer
From https://github.com/jahow/openlayers/pull/1
Adds logic in WebGLVectorLayerRenderer to handle multiple worlds visible at once.
Co-authored-by: Tomas Burleigh <t.burleigh@gmail.com>
Co-authored-by: Olivier Guyot <olivier.guyot@camptocamp.com>
|
2022-07-15 22:33:52 +02:00 |
|
Olivier Guyot
|
7e9c620914
|
Fix linting and typechecking errors
|
2022-07-15 22:33:52 +02:00 |
|
Olivier Guyot
|
143c19ca03
|
Add utils for generating webgl buffers from lines and polygons
Uses @mapbox/earcut for polygon (what else), and a home made logic for lines
|
2022-07-15 22:33:52 +02:00 |
|
Olivier Guyot
|
a18ffaed54
|
Move webgl utils out of ol/renderer/webgl/Layer module into their own module
|
2022-07-15 22:33:52 +02:00 |
|
Olivier Guyot
|
eb0db9e3df
|
Introduce batch renderers for each type of geometry
Batch renderers are responsible for generating render instructions and
interacting with the worker to obtain the final webgl buffers
|
2022-07-15 22:33:52 +02:00 |
|
Olivier Guyot
|
b5fbed5437
|
Introduce MixedGeometryBatch for webgl rendering
This class keeps an up-to-date list of line, polygon and point geometries
to render as well as vertices counts, geometries count, rings count etc.
|
2022-07-15 22:33:52 +02:00 |
|