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

i have some question about parameter, #122

Open
Oranger1 opened this issue Mar 1, 2021 · 2 comments
Open

i have some question about parameter, #122

Oranger1 opened this issue Mar 1, 2021 · 2 comments

Comments

@Oranger1
Copy link

Oranger1 commented Mar 1, 2021

what is “canonical” meaning?what is it affect ?
all line's shiftCoords [0,0] are same point? i want to figure out where is [0,0]
i’m sorry about my English is so poor,i will appreciate it if somebody answer my question.

@johnwalley
Copy link
Owner

Hi @Oranger1. Good questions! Canonical is used when you have multiple stations in the same place. This would usually be the case if you have more than line crossing and want to show an interchange (black and white circle marker) there. The station that is marked 'canonical' will be displayed and the others hidden.

The shiftCoords property will move the whole line by that amount, e.g. with [0,10] all line segments and stations will be moved 10 units vertically.

@Oranger1
Copy link
Author

Oranger1 commented Mar 6, 2021

Hi @Oranger1. Good questions! Canonical is used when you have multiple stations in the same place. This would usually be the case if you have more than line crossing and want to show an interchange (black and white circle marker) there. The station that is marked 'canonical' will be displayed and the others hidden.

The shiftCoords property will move the whole line by that amount, e.g. with [0,10] all line segments and stations will be moved 10 units vertically.

oh! i get it! thanks for your response!

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