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

Performance improvements #36

Open
elliotnash opened this issue Jul 1, 2024 · 1 comment
Open

Performance improvements #36

elliotnash opened this issue Jul 1, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@elliotnash
Copy link
Member

Current performance issues:

  • Drawing large polylines is expensive in non native map interfaces, even with polyline culling and simplification.

  • Calling setState of the sliding modal triggers rebuild of (expensive) elevation graph reducing modal swipe performance

Using native platform maps fixes most performance issues, however, it brings two problems:

  • Widget info popups are restricted to just text with an old UI without using a somewhat hacky way to render widgets to bitmaps and set them as a marker icon, which comes with its own performance issues, especially if widgets are not static
@elliotnash elliotnash added the enhancement New feature or request label Jul 1, 2024
@elliotnash elliotnash moved this to Todo in Trail Eyes Jul 1, 2024
@elliotnash elliotnash moved this from Todo to In Progress in Trail Eyes Jul 1, 2024
@elliotnash
Copy link
Member Author

Gpx files are now processed server side and sent to the client using a custom encoding which reduces file size by roughly 10x, speeding up load time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: In Progress
Development

No branches or pull requests

1 participant