Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Desplandis committed Nov 16, 2024
1 parent d5ae275 commit 807ee85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion itowns/dev/examples/js/plugins/COGParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ const COGParser = (function _() {
*/
parse: async function _(data, options) {
const source = options.in;
const tileExtent = options.extent.as(source.crs);
const tileExtent = options.extent.isExtent ? options.extent.as(source.crs) : options.extent.toExtent(source.crs);

const level = selectLevel(source, tileExtent, source.tileWidth, source.tileHeight);
const viewport = makeWindowFromExtent(source, tileExtent, level.resolution);
Expand Down

0 comments on commit 807ee85

Please sign in to comment.