Skip to content

Commit

Permalink
loadPercent -> loadProgress
Browse files Browse the repository at this point in the history
  • Loading branch information
gkjohnson committed Jan 13, 2025
1 parent efde634 commit 63ee08b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -392,14 +392,6 @@ If true then the `raycast` functions of the loaded tile objects are overriden to
If you would like to manage raycasting against tiles yourself this behavior can be disabled if needed by setting `optizeRaycast` to false.
### .preprocessURL
```js
preprocessURL = null : ( uri : string | URL ) => string | URL;
```
Function to preprocess the url for each individual tile geometry or child tile set to be loaded. If null then the url is used directly.
### .lruCache
```js
Expand Down Expand Up @@ -446,6 +438,14 @@ manager : LoadingManager
The manager used when loading tile geometry.
### .loadProgress
```js
readOnly loadProgress : Number
```
Returns the total load progress between `[0, 1]`. Progress is measured since the last set of loading tiles completed.
### .constructor
```js
Expand Down
2 changes: 1 addition & 1 deletion src/base/TilesRendererBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export class TilesRendererBase {

}

get loadPercent() {
get loadProgress() {

const stats = this.stats;
const loading = stats.downloading + stats.parsing;
Expand Down

0 comments on commit 63ee08b

Please sign in to comment.