We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
According to the Tile3DLayer docs, options for Tileset3D can be set like this:
const layer = new Tile3DLayer({ ... loadOptions: { tileset: { throttleRequests: false, }, ... } })
However, those are not assigned in Tileset3D:
constructor(tileset: TilesetJSON, options?: Tileset3DProps) { ... this.loadOptions = this.options.loadOptions || {}; ... this._requestScheduler = new RequestScheduler({ throttleRequests: this.options.throttleRequests, maxRequests: this.options.maxRequests }); ... }
The tileset options may be passed directly to Tileset3D in tile-layer-3d.ts:
private async _loadTileset(tilesetUrl) { ... const options = {loadOptions: {...loadOptions}}; ... const tileset3d = new Tileset3D(tilesetJson, { onTileLoad: this._onTileLoad.bind(this), onTileUnload: this._onTileUnload.bind(this), onTileError: this.props.onTileError, ...options, ...options.loadOptions.tileset // added }); ... }
Specifying tileset options like throttleRequests, maxRequests, maximumMemoryUsage, etc. in Tile3DLayer has no effect.
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
According to the Tile3DLayer docs, options for Tileset3D can be set like this:
However, those are not assigned in Tileset3D:
Flavors
Expected Behavior
The tileset options may be passed directly to Tileset3D in tile-layer-3d.ts:
Steps to Reproduce
Specifying tileset options like throttleRequests, maxRequests, maximumMemoryUsage, etc. in Tile3DLayer has no effect.
Environment
Logs
No response
The text was updated successfully, but these errors were encountered: