Skip to content

Commit

Permalink
fix: eslint fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
duxinyue.dxy committed Nov 4, 2024
1 parent 5cac2de commit 75cd993
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/source/src/parser/raster-tile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,7 @@ export default function rasterTile(
throw new Error('tile server url is error');
}

const {
extent = [Infinity, Infinity, -Infinity, -Infinity],
coordinates,
} = cfg;
const { extent = [Infinity, Infinity, -Infinity, -Infinity], coordinates } = cfg;

let tileDataType: RasterTileType = cfg?.dataType || RasterTileType.IMAGE;
// Tip: RasterTileType.RGB 是彩色多通道的数据纹理,同样走数据纹理的请求
Expand Down

0 comments on commit 75cd993

Please sign in to comment.