Cleaned up the heatmap layer & use dynamic radius

This commit is contained in:
Olivier Guyot
2018-11-16 00:51:28 +01:00
parent fb8bf785dd
commit 716256e8f3
4 changed files with 100 additions and 90 deletions

View File

@@ -64,7 +64,8 @@ class WebGLPointsLayerRenderer extends LayerRenderer {
const options = opt_options || {};
this.context_ = new WebGLHelper({
postProcesses: options.postProcesses
postProcesses: options.postProcesses,
uniforms: options.uniforms
});
this.sourceRevision_ = -1;