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

Feature Request: "It is not possible to display custom data on the main map itself." #429

Open
esemwy opened this issue Aug 20, 2024 · 10 comments

Comments

@esemwy
Copy link

esemwy commented Aug 20, 2024

Please consider changing this.

I use travellermap.com live in my game, except when I need to add custom data. Then I'm reduced to paper handouts. It makes me sad.

Alternatively, how hard would it be to port to Nginx/Mono? ;-) Actually, I'd consider contracting someone to do this.

Maybe a browser extension could be contrived?

@mkalus
Copy link

mkalus commented Dec 12, 2024

Looking at the code, there is one reference to a PDF dll, so migrating to Mono might need some work on that. Probably doable, there are plenty of good PDF libraries out there in the wild.

I would also like some form of Docker deployment for Travellermaps, so people could create their own variants easily.

Anyone tried to port this project to Mono yet?

@ckennedy666
Copy link

No need to port to mono. Just update it to modern .Net which is cross platform.

.Net isn't the issue with getting TravellerMap to run on Docker. It's the reliance on IIS, which is a bigger hurdle.

@esemwy
Copy link
Author

esemwy commented Dec 12, 2024

I tried a port but made no real progress. I don't know C# all that well. Likewise, all the contracting options I found declined or clearly didn't understand the task.

@mkalus
Copy link

mkalus commented Dec 12, 2024

Haven't worked with IIS in the last 25 years - but is it bundled with the app or just a reverse proxy? I guess bundled, otherwiese it would be quite easy. I see that C# does offer a "self hosted" server, but I haven't done C# in the last 10 years either, so I am unsure where to begin.

@ckennedy666
Copy link

Last time I looked, TravellerMap was using ISAPI calls for all the URL handling, which isn't a fun thing, nor easy to port.

Best way forward is to reimplement the web api front end. I also can't remeber if the rendering was using directx graphic calls or not.

@mkalus
Copy link

mkalus commented Dec 12, 2024

Thanks for pointing this out. Argh, I see. ISAPI... Memories 😱 Right, these will not be completely easy to port.

@ckennedy666
Copy link

I'm an IT Architect, not a full stack developer. I actually looked at TravellerMap with Josh with an eye to porting it to Azure web apps. ISAPI was the major roadblock, with the tileing engine being a secondary.

I'm pretty sure the ISAPI calls can be eliminated with some work and converted either to full .Net methods or to another webserver like nginx. The tileing/rendering I didn't understand enough of to be able to offer an opinion.

@ckennedy666
Copy link

ckennedy666 commented Dec 12, 2024

My current opinion is that the code needs to be ported to either kubernetes or podman using multiple containers. One for api requests, one for rendering, one for data requests, one for pdf. Perhaps others. That way it can scale better.

@mkalus
Copy link

mkalus commented Dec 12, 2024

I am a full stack developer with a strong tendency towards architecture and I would generally agree. That said, I am not doing and C# any more (ten years ago, yes), so I am not too confident with the language any more.

@esemwy
Copy link
Author

esemwy commented Dec 12, 2024

I guess my first step is a local windows service and gradually factoring parts over to nginx on Windows. I hate windows, BTW. Certainly not promising any real progress, but I'll try.

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

3 participants