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

Add a map to show player positions #10

Open
Istador opened this issue May 5, 2024 · 0 comments
Open

Add a map to show player positions #10

Istador opened this issue May 5, 2024 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Istador
Copy link
Owner

Istador commented May 5, 2024

It would be nice if the players dialog would show the in-game map with the positions of the players.

The data is available via the JSON API and is already passed to the browser from https://api.smoo.it/ so the only thing missing is using that that data in the website software.

Leaflet is very likely the library to use. I already have experience from the Pine Interactive Map, and the prototype map from speyejack also uses Leaflet.

The main thing missing currently is the map graphics. For copyright reasons the maps from the game should not be used. Instead what is needed are royalty-free open maps, preferable as scalable vector graphics (SVG).

The in-game coordinates should not be calculated into map / image coordinates. Instead the Leaflet coordinate system should equal the in-game coordinate system. The map images need to be mapped/transformed to the in-game coordinate system.

@Istador Istador added enhancement New feature or request help wanted Extra attention is needed labels May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
Status: Todo
Development

No branches or pull requests

1 participant