Explorar el Código

Merge pull request #262 from NASA-AMMOS/fix-urls

Readd trailing slash
Garrett Johnson hace 3 años
padre
commit
eab7f6ad52
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/base/TilesRendererBase.js

+ 1 - 1
src/base/TilesRendererBase.js

@@ -191,7 +191,7 @@ export class TilesRendererBase {
 			if ( tile.content.uri ) {
 
 				// tile content uri has to be interpreted relative to the tileset.json
-				tile.content.uri = new URL( tile.content.uri, tileSetDir ).toString();
+				tile.content.uri = new URL( tile.content.uri, tileSetDir + '/' ).toString();
 
 			}