Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't zoom more than approximately 2.0x in WSL #150

Closed
KnightChaser opened this issue Oct 28, 2024 · 1 comment
Closed

Can't zoom more than approximately 2.0x in WSL #150

KnightChaser opened this issue Oct 28, 2024 · 1 comment

Comments

@KnightChaser
Copy link

KnightChaser commented Oct 28, 2024

Steps to reproduce

My environment is Ubuntu 22.04.5 LTS on Windows 10 x86_64, 5.15.153.1-microsoft-standard-WSL2
Install the newest mapscii via snap command. (In my environment)

For more context about my environment, here I attach the output of the command neofetch
image

Current behavior

Open mapscii and gradually zoom toward any position. When I zoom in more than (approximately) 2.0x, it suddenly shows a blackout screen like the picture below.
image

I don't know exactly why this was occurred. Sometimes, when I zoom out again so the magnification rate becomes smaller than about 2.0x, it returns to normal. Or, it pauses working and crashes.

And I could check the following exception log was also printed after that crash.

renderer is busyError: Unimplemented type: 4
    at Pbf.skip (/snap/mapscii/14/lib/node_modules/mapscii/node_modules/pbf/index.js:211:20)
    at Pbf.readFields (/snap/mapscii/14/lib/node_modules/mapscii/node_modules/pbf/index.js:46:45)
    at new VectorTile (/snap/mapscii/14/lib/node_modules/mapscii/node_modules/@mapbox/vector-tile/lib/vectortile.js:8:23)
    at Tile._loadTile (/snap/mapscii/14/lib/node_modules/mapscii/src/Tile.js:33:17)
    at /snap/mapscii/14/lib/node_modules/mapscii/src/Tile.js:24:19

The one notable thing is I encountered this issue that hasn't happened before, I encountered such a problem first today.

Expected behavior

The zoomed map should be rendered properly, even though there might be a delay due to the rendering process.

@KnightChaser KnightChaser changed the title Can't zoom more than about 2.0x Can't zoom more than approximately 2.0x in WSL Oct 28, 2024
@jaller94
Copy link
Collaborator

jaller94 commented Nov 2, 2024

Thank you for taking the time to report this.
Yes, there are a few issue with the current map data and renderer.

I'm going to close this as a duplicate of #87.
I know that there are more issues listed, but to keep things simple and because we hobby developers wish for a larger maintainance update, it's currently best to close this issue in my opinion.

@jaller94 jaller94 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 2, 2024
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

No branches or pull requests

2 participants