Skip to content

Commit

Permalink
Add controls
Browse files Browse the repository at this point in the history
  • Loading branch information
eyeseast committed Jan 5, 2024
1 parent 4c440c6 commit 9b6a495
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@
hash: true,
});
// controls
map.addControl(new maplibregl.NavigationControl(), "top-left");
map.addControl(new maplibregl.FullscreenControl(), "top-left");
map.once("load", onLoad);
// for debugging
Expand Down

0 comments on commit 9b6a495

Please sign in to comment.