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

Alternative map sources #128

Open
jaller94 opened this issue Feb 9, 2023 · 2 comments
Open

Alternative map sources #128

jaller94 opened this issue Feb 9, 2023 · 2 comments

Comments

@jaller94
Copy link
Collaborator

jaller94 commented Feb 9, 2023

If I am understanding correctly, MAPSCII pulls its map data from webAPIs and renders it. Is it possible to host your own mapAPI, update the markers on the map server and then just use MAPSCII as a viewer?

Originally posted by @rcmart3q in #97 (comment)

Moved to its own issue because it was off-topic. Should be part of a in-tree documentation or wiki.

@jaller94
Copy link
Collaborator Author

jaller94 commented Feb 9, 2023

Theoretically, it does support loading local mbtiles files.

npm install -g mapscii
npm install -g @mapbox/mbtiles
mapscii --source /home/rcmart3q/Documents/Vancouver.mbtiles

or another http(s) source (defaults to "http://mapscii.me/"):

npm install -g mapscii
mapscii --source http://localhost:8080/custom-map/

@rastapasta
Copy link
Owner

Correct, currently the vector tiles are served from https://mapscii.me/{z}/{x}/{y} - in case one uses a different source, the styles and to-be-rendered layers (and their order) might need to be adapted

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