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

Go to a specific coordinate. #105

Open
array-in-a-matrix opened this issue Jun 24, 2021 · 6 comments
Open

Go to a specific coordinate. #105

array-in-a-matrix opened this issue Jun 24, 2021 · 6 comments

Comments

@array-in-a-matrix
Copy link

It would be cool to press " / " then paste or type a coordinate and have the map automatically locate and render that area.

@pedroelbanquero
Copy link

any way to start the map in a cordenates from command line ?

@piemadd
Copy link

piemadd commented Jan 6, 2022

@pedroelbanquero if you look into the main.js file you can see any command line arguments you can use

@Lucas-C
Copy link

Lucas-C commented Jan 29, 2022

I think your initial idea @array-in-a-matrix would require some form of interactive prompt, which is non trivial to implement...

In the same spirit, I'd love to be able to telnet u4pruydqqvj.mapscii.me where u4pruydqqvj is a GeoHash for coordinates 57.64911,10.40744, and MapSCII would point to that location.

There are a few npm packages providing GeoHash conversion logic: https://www.npmjs.com/search?q=keywords:geohash

Technically, this would also require some wildcard DNS configuration, and to forward/retrieve the actual hostname specified in the TCP request...

What do you think about this idea @rastapasta ?
(and should I open a separate issue maybe ?)

@piemadd
Copy link

piemadd commented Jan 29, 2022

Also about those command line arguments, one thing that I've noticed is that they don't even seem to work half of the time.

@rastapasta
Copy link
Owner

rastapasta commented Jan 29, 2022

Ahoi, sorry for being so late to the discussion 😊
MapSCII is back on my schedule right now!

Next to an interactive interface, the idea of passing parameters via a subdomain is pretty lovely!

Only blocking issue I see here: the telnet protocol doesn't consider the transfer of a given host name (compared to the HTTP protocol's Host header field) 😢 This might be compensated in a (already half-implemented) ssh-server, but unlikely to be achieved in an telnet based approach.

Still: the easy way of (pre)selecting a location/feeding a geojson is top priority atm

@Lucas-C
Copy link

Lucas-C commented Jan 30, 2022

Thank you for your answer @rastapasta!
Well spotted for the telnet protocol limitation... 😞
Feel free to ping me once the ssh-server is implemented, I'd like to help building the subdomain feature 😊

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

No branches or pull requests

5 participants