Webgl icon example / restore texture for icons

This commit is contained in:
Olivier Guyot
2019-09-25 13:03:24 +02:00
parent 9e55a8b2f0
commit b8564d503a
2 changed files with 61 additions and 16 deletions

View File

@@ -113,7 +113,6 @@ class WebGLPointsLayerRenderer extends WebGLLayerRenderer {
*/
constructor(vectorLayer, options) {
const uniforms = options.uniforms || {};
uniforms.u_texture = getBlankImageData();
const projectionMatrixTransform = createTransform();
uniforms[DefaultUniform.PROJECTION_MATRIX] = projectionMatrixTransform;