Avoid loading tiles outside the grid extent

This commit is contained in:
Tim Schaub
2021-11-29 10:55:55 -07:00
parent a788c9bd1e
commit 3bf1aef8e2
8 changed files with 86 additions and 7 deletions

View File

@@ -31,7 +31,7 @@ import {toPromise} from '../functions.js';
* @property {boolean} [opaque=false] Whether the layer is opaque.
* @property {import("./State.js").default} [state] The source state.
* @property {number} [tilePixelRatio] Tile pixel ratio.
* @property {boolean} [wrapX=true] Render tiles beyond the antimeridian.
* @property {boolean} [wrapX=false] Render tiles beyond the antimeridian.
* @property {number} [transition] Transition time when fading in new tiles (in miliseconds).
* @property {number} [bandCount=4] Number of bands represented in the data.
*/