Procházet zdrojové kódy

Merge pull request #238 from justinmanley/preprocess-root-url

Preprocess URL for tileset root
Garrett Johnson před 3 roky
rodič
revize
09714424a0
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/base/TilesRendererBase.js

+ 1 - 1
src/base/TilesRendererBase.js

@@ -337,7 +337,7 @@ export class TilesRendererBase {
 		if ( ! ( url in tileSets ) ) {
 
 			const pr = this
-				.fetchTileSet( url, this.fetchOptions )
+				.fetchTileSet( this.preprocessURL ? this.preprocessURL( url ) : url, this.fetchOptions )
 				.then( json => {
 
 					tileSets[ url ] = json;