inspector: default to map view with tile boundaries [#49]

This commit is contained in:
Brandon Liu
2022-12-01 17:31:46 +08:00
parent be6b384601
commit b0fe16847e
2 changed files with 5 additions and 4 deletions

View File

@@ -114,6 +114,7 @@ function MaplibreMap(props: { file: PMTiles }) {
layers: [],
},
});
map.showTileBoundaries = true;
map.addControl(new maplibregl.NavigationControl({}));
map.on("load", map.resize);