Skip to content

Commit

Permalink
Pass the imagery tile size to the tiler
Browse files Browse the repository at this point in the history
It did work with the default 256px, but this helps it pick the correct zoom we really want to use.
  • Loading branch information
bhousel committed Sep 3, 2024
1 parent 0a83589 commit 8405b79
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/pixi/PixiLayerBackgroundTiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ export class PixiLayerBackgroundTiles extends AbstractLayer {
if (source.isLocatorOverlay() && maxZoom > 17) continue; // overlay is blurry if zoomed in this far

const result = this._tiler
.tileSize(tileSize)
.skipNullIsland(!!source.overlay)
.zoomRange(tryZoom)
.getTiles(this.isMinimap ? viewport : context.viewport); // minimap passes in its own viewport
Expand Down

0 comments on commit 8405b79

Please sign in to comment.