Skip to content

Conversation

@mschreiber
Copy link
Contributor

@mschreiber mschreiber commented Apr 16, 2025

Handle the case where the alt is missing in the retrieved data by only calculating the elevationChange if the alt from the last point and the alt from the current point are available

Closes #132

Copy link
Member

@linusg linusg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Two nitpicks

mschreiber and others added 2 commits April 24, 2025 06:01
mschreiber and others added 4 commits April 24, 2025 17:39
I am so sorry, you are right, !== null just covers the null case and not undefined. So either just != null or checking both.....
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

Successfully merging this pull request may close these issues.

Elevation gain/loss

2 participants