Merge pull request #13528 from burleight/webglpointslayer-wrap-x

WebGLPointsLayer wrapX support - partially addressing #11131
This commit is contained in:
Andreas Hocevar
2022-04-17 17:34:01 +02:00
committed by GitHub
4 changed files with 66 additions and 17 deletions

View File

@@ -678,7 +678,6 @@ class WebGLHelper extends Disposable {
/**
* Sets the default matrix uniforms for a given frame state. This is called internally in `prepareDraw`.
* @param {import("../PluggableMap.js").FrameState} frameState Frame state.
* @private
*/
applyFrameState(frameState) {
const size = frameState.size;
@@ -715,7 +714,6 @@ class WebGLHelper extends Disposable {
/**
* Sets the custom uniforms based on what was given in the constructor. This is called internally in `prepareDraw`.
* @param {import("../PluggableMap.js").FrameState} frameState Frame state.
* @private
*/
applyUniforms(frameState) {
const gl = this.getGL();