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

Download visualisations as images with attribution text overlay #38

Open
carlhiggs opened this issue Oct 17, 2024 · 1 comment
Open

Comments

@carlhiggs
Copy link
Contributor

Popup charts and other visualisations should be downloadable, ideally with a text overlay indicating attribution.

The overlay text might be brief and general (e.g. "https://transporthealthimpacts.org (2024)"), or perhaps more specific (e.g. the URL that could direct users to the interactive version of that specific clicked feature to which the image relates).

I have implemented the button using html2canvas (1ee789f), however the text overlay has proved complicated/unpredictable to position. More work is required.

@carlhiggs carlhiggs changed the title Download map features as images with attribution text overlay Download visualisations as images with attribution text overlay Oct 17, 2024
@carlhiggs
Copy link
Contributor Author

It wasn't straightforward to implement the attribution overlay --- there are complexities that can make spacing/positions difficult to predict. But downloading content has been implemnted. I may close this issue soon, as the downloading was the main thing ---attribution overlay is a 'nice to have'.... There are other priorities that I'll likely get to first.

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

1 participant