Skip to content

Commit 10ef363

Browse files
author
Thomas Cariello
committed
Use setExtent() method for layer extent
1 parent 0ba5697 commit 10ef363

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/js/map/layerbuilder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ export default function mapLayerBuilder(config, cache, store) {
406406
// Because granule footprints from CMR are imprecise, setting an extent on granule
407407
// layers can crop valid imagery. So extents are only applied to non-granule layers.
408408
if (!isGranule) {
409-
layerTile.extent = extent;
409+
layerTile.setExtent(extent);
410410
}
411411
return layerTile;
412412
};

0 commit comments

Comments
 (0)