Skip to content

Line pruning? #4201

Closed Answered by HarelM
kyllerss asked this question in Q&A
May 29, 2024 · 2 comments
Discussion options

You must be logged in to vote

Without seeing your code it's very hard to tell what's wrong.
I have a similar feature where I show the slope of a route using color where blue is downhill and red is uphill.
The code is here:
https://github.com/IsraelHikingMap/Site/blob/825d8336e24601b9c0b1f18e79e16c87c7989a5e/IsraelHiking.Web/src/application/components/route-statistics.component.ts#L1028

I don't have any gaps, I'm drawing a single line and color it with "stops" by converting line progress to the relevant color up front.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by kyllerss
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants