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.
1 parent 2caaab9 commit 7cb0783Copy full SHA for 7cb0783
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