diff --git a/README.md b/README.md index 03c0628c..c9625501 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 diff --git a/src/base/TilesRendererBase.js b/src/base/TilesRendererBase.js index 9ed11336..5500b0e6 100644 --- a/src/base/TilesRendererBase.js +++ b/src/base/TilesRendererBase.js @@ -87,7 +87,7 @@ export class TilesRendererBase { } - get loadPercent() { + get loadProgress() { const stats = this.stats; const loading = stats.downloading + stats.parsing;