set but don't read tile inspector hash state; store max extent

This commit is contained in:
Brandon Liu
2022-12-14 11:04:59 +08:00
parent 9a79970851
commit 25088aaccf
2 changed files with 46 additions and 11 deletions

View File

@@ -144,7 +144,7 @@ function MaplibreMap(props: { file: PMTiles }) {
map = new maplibregl.Map({
container: mapContainerRef.current!,
hash: true,
hash: "map",
zoom: 0,
center: [0, 0],
style: {