We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2caaab9 + 7cb0783 commit 0307b21Copy full SHA for 0307b21
src/app/terrain/TerrainHeightLoader.ts
@@ -97,7 +97,7 @@ export default class TerrainHeightLoader {
97
98
public constructor() {
99
this.decodingCanvas = document.createElement('canvas');
100
- this.decodingCtx = this.decodingCanvas.getContext('2d');
+ this.decodingCtx = this.decodingCanvas.getContext('2d', {willReadFrequently:true});
101
}
102
103
public async getOrLoadTile(
0 commit comments