mirror of
https://github.com/rastapasta/mapscii.git
synced 2024-11-21 15:43:08 +01:00
🗺 MapSCII is a Braille & ASCII world map renderer for your console - enter => telnet mapscii.me <= on Mac (brew install telnet) and Linux, connect with PuTTY on Windows
tiles | ||
.gitignore | ||
LICENSE | ||
package.json | ||
README.md | ||
termap.coffee |
termap - Terminal Map Viewer
Discover the world in your console! termap allows you to render and navigate VectorTile based maps in your console.
- No native dependencies, 100% Coffee-/JavaScript
- Use your mouse or keyboard to navigate the map
- Use tile servers or local MBTiles and VectorTiles
How to get it?
npm install -g termap
Behind the scenes
Libraries
pbf
for Protobuf decodingvector-tile
for VectorTile parsingterm-mouse
for mouse handlingkeypress
for input handlingnode-drawille
for braille rendering (to be replaced)
Wishlist
- node-gyp binding to libdrawille for speed refactor possibilities + filled polygons
TODOs
- mapping of view to tiles to show
- tile request system
- from local mbtiles
- from remote url
- label drawing
- lat/lng-center + zoom based viewport
- TileSource class (abstracting URL, mbtiles, single vector tile source)
- zoom while keeping center
- API
- setCenter
- setZoom
- accurate mouse drag&drop
- handle console resize