Skip to content

Commit 505d3c0

Browse files
committed
Fix "Show base map" so the base is actually hidden
1 parent 6d4ece1 commit 505d3c0

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/MapBase.ts

-4
Original file line numberDiff line numberDiff line change
@@ -200,10 +200,6 @@ export class MapBase {
200200
const southWest = this.rc.unproject([0, this.rc.height]);
201201
const northEast = this.rc.unproject([this.rc.width, 0]);
202202
const bounds = new L.LatLngBounds(southWest, northEast);
203-
const baseImage = L.imageOverlay(`${map.GAME_FILES}/maptex/base.png`, bounds, {
204-
pane: BASE_PANE,
205-
});
206-
baseImage.addTo(this.m);
207203

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

0 commit comments

Comments
 (0)