Explorar o código

[143] - remove bonus .json() on tilesets

Dave Buchhofer %!s(int64=4) %!d(string=hai) anos
pai
achega
a1dcd60cf3
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      src/base/TilesRendererBase.js

+ 0 - 1
src/base/TilesRendererBase.js

@@ -471,7 +471,6 @@ export class TilesRendererBase {
 				return this.fetchTileSet( uri, Object.assign( { signal }, this.fetchOptions ), tileCb );
 
 			} )
-				.then( res => res.json() )
 				.then( json => {
 
 					// if it has been unloaded then the tile has been disposed