Skip to content

Commit

Permalink
Fix "Show base map" so the base is actually hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
savage13 committed Oct 20, 2024
1 parent 6d4ece1 commit 505d3c0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/MapBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,10 +200,6 @@ export class MapBase {
const southWest = this.rc.unproject([0, this.rc.height]);
const northEast = this.rc.unproject([this.rc.width, 0]);
const bounds = new L.LatLngBounds(southWest, northEast);
const baseImage = L.imageOverlay(`${map.GAME_FILES}/maptex/base.png`, bounds, {
pane: BASE_PANE,
});
baseImage.addTo(this.m);

const baseLayer = L.tileLayer(`${map.GAME_FILES}/maptex/{z}/{x}/{y}.png`, {
maxNativeZoom: 7,
Expand Down

0 comments on commit 505d3c0

Please sign in to comment.