Skip to content

Commit 361aa96

Browse files
committed
Update
1 parent 0579d5d commit 361aa96

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/core/renderer/API.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Base class for all 3D Tiles content loaders. Handles fetching and parsing tile c
8585
### .fetchOptions
8686

8787
```js
88-
fetchOptions: Object
88+
fetchOptions: Object = {}
8989
```
9090

9191
Options passed to `fetch` when loading tile content.
@@ -94,7 +94,7 @@ Options passed to `fetch` when loading tile content.
9494
### .workingPath
9595

9696
```js
97-
workingPath: string
97+
workingPath: string = ''
9898
```
9999

100100
Base URL used to resolve relative external URLs.

src/core/renderer/loaders/LoaderBase.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,14 @@ export class LoaderBase {
1010
/**
1111
* Options passed to `fetch` when loading tile content.
1212
* @type {Object}
13+
* @default {}
1314
*/
1415
this.fetchOptions = {};
1516

1617
/**
1718
* Base URL used to resolve relative external URLs.
1819
* @type {string}
20+
* @default ''
1921
*/
2022
this.workingPath = '';
2123

0 commit comments

Comments
 (0)