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

Hyperlink on stations #146

Open
metalhead44 opened this issue Jul 15, 2021 · 1 comment
Open

Hyperlink on stations #146

metalhead44 opened this issue Jul 15, 2021 · 1 comment

Comments

@metalhead44
Copy link

Is there a way to link a webpage for a station to view additional details. Basically want to make stations as hyperlink

@johnwalley
Copy link
Owner

Hi @metalhead44. Sorry I missed this!

Unfortunately there is nothing in the library to do this but let's keep this issue open as a reminder for me to add the feature in the future.

A hacky solution would be to query the svg elements the library generates and insert an a element around each station's g element. Let me know if you'd like me to put together an example

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