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

Specify the direction of the profil drawing #21

Open
Coroico opened this issue Jul 7, 2014 · 1 comment
Open

Specify the direction of the profil drawing #21

Coroico opened this issue Jul 7, 2014 · 1 comment

Comments

@Coroico
Copy link

Coroico commented Jul 7, 2014

Is it possible to specify the direction of the profil drawing ? From left to right side or from right to left side.
I have an example where the track is from east to west (so from the right side to the left side of the map) and below the height indicator which moves from the left side of the elevation profil to the right side.
It could be interesting to specify a direction for the profile drawing (leftToRight or RightToLeft). If RightToLeft required this implies to invert the order of the points of the track.

@MrMufflon
Copy link
Owner

You mean flip the whole diagram including axes horizontally? I´ve never seen a height profile UI element doing that, but would be interesting. But seems like it´s not as easily done as it sounds. I don´t have the time to do it at the moment. If you want to contribute I´ll happily merge it. As a first workaround (and if you don´t need the distance labels) you can just call reverse() on the the data before adding it.

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