소스 검색

Merge pull request #207 from PetterGs/Fix-for-parsing-Cesium-Ion-paths

Fix for parsing Cesium Ion paths
Garrett Johnson 4 년 전
부모
커밋
c4891efb68
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      example/ionExample.js

+ 1 - 1
example/ionExample.js

@@ -157,7 +157,7 @@ function reinstantiateTiles() {
 				url = new URL( json.url );
 				const version = url.searchParams.get( 'v' );
 
-				tiles = new TilesRenderer( url );
+				tiles = new TilesRenderer( url.toString() );
 				tiles.fetchOptions.headers = {};
 				tiles.fetchOptions.headers.Authorization = `Bearer ${json.accessToken}`;