Skip to content

Add a compass to reset the map north - #13

Open
AlexanderTrysMine wants to merge 1 commit into
FoggedLens:masterfrom
AlexanderTrysMine:add-map-compass
Open

Add a compass to reset the map north#13
AlexanderTrysMine wants to merge 1 commit into
FoggedLens:masterfrom
AlexanderTrysMine:add-map-compass

Conversation

@AlexanderTrysMine

@AlexanderTrysMine AlexanderTrysMine commented Jul 25, 2026

Copy link
Copy Markdown

It's easy to accidentally rotate the map on mobile, and refreshing was the easiest way to get it pointing north again. The built-in compass was disabled, so this turns it on and keeps it visible on smaller screens too. Clicking it points the map north again without changing where you're looking.

I also moved the nearby controls up a little so nothing overlaps.

Checked with:

  • npm test
  • npm run build
  • targeted ESLint check
  • desktop and mobile browser checks

npm run lint still fails on a pre-existing no-namespace error in worker/src/types.ts; that file isn't touched by this PR, and the changed map file has no lint errors.

@AlexanderTrysMine
AlexanderTrysMine marked this pull request as ready for review July 25, 2026 06:38
@AlexanderTrysMine

Copy link
Copy Markdown
Author
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant