-
Notifications
You must be signed in to change notification settings - Fork 47
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
[Feature Request] Allow adjustment of concurrently visible trails on map #77
Comments
Thanks for your quick answer. I can see how this would eliminate the potential performance issues. I like to use wanderer to store all my previously finished trails and then use it to find places I haven't been to. Especially for longer bike rides upwards of 100 kilometers, this implementation might make it harder to use wanderer for this since only their stating point would be visible. |
The sota way to solve this seem to be relying on cloud-native geospatial standard for vector datasets, something like protomaps/pmtiles which is a single-file, vector tile compressed dataset, with js viewers and libraries available for eg leaflet, maplibre and loadersgl/deckgl. That last deckgl example shows how quick it is to load a massive vector polylines dataset based on that pmtiles vector tiles standard. Building that pmtiles dataset can be done via tippecanoe or gdal ogr2ogr like shown on this protomaps doc. One tricky things to consider is that implementation has to decide whether pmtiles tilesets has to be produced (periodically or on track creation)
|
Hi there, |
In its current implementation there seems to be a fixed number of trails simultaneously visible on the map.
While there might be performance implications, it would be very helpful to be able to manually adjust the number visible tracks on a client by client basis.
Feel free to ignore the following section
To remedy the performance problems, one could use an approach similar to Komoot mobile app, which when zoomed out simplifies the track by lowering the “resolution” of the track depending on zoom level. They seem to have a number
x
tied to the zoom level and only eachx
's point of the track is used for displaying the track.The text was updated successfully, but these errors were encountered: