Each time I try to use it, it just hides or reveals the whole map instead of the selected polygon region. In JS console, it says: WebGL: INVALID_VALUE: texImage2D: no canvas The errors comes from vtt.bundle.3fab7c477bd3348fce07.js:38383: this.gl.texImage2D(this.gl.TEXTURE_2D, 0, this.gl.RGBA, this.gl.RGBA, this.gl.UNSIGNED_BYTE, this.cvs), I debugged it a little bit and found that this.cvs is an off-DOM canvas, which is I guess why it failed. I couldn't debug further as the bundle is obfuscated.