Replies: 2 comments 3 replies
-
I welcome this. |
Beta Was this translation helpful? Give feedback.
3 replies
-
PR is up! #16394 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The
WebGLPointsLayer
class has been around for a while and seems to be used quite a bit. We have been working on the more generic vector layer renderer for a while, but there hasn't been any proper easy-to-use class yet for that renderer.Now that the generic vector renderer is working well, we propose to:
The usage of the WebGLVectorLayer class would look like this:
The
['var']
operator will still be supported but target thestyleVariables
property instad of thevariables
property in the style object. The layer API will also offer anupdateStyleVariables
function, similarly to the WebGLPointsLayer class.This addresses at least partly #15146.
This proposal should result in a more easy-to-use and optimized WebGL-based layer. The generic vector layer is also better optimized and should offer better performance.
This proposal will also pave the way for the following improvements:
['var']
in a similar way for canvas-based layersPlease share any opinion/questions!
Done in cooperation with @romprokop
Beta Was this translation helpful? Give feedback.
All reactions