Stathunters tiles support in Web planner

skvedo shared this idea 2 years ago
Gathering feedback

There is existing browser extension for showing tiles from https://www.statshunters.com/ on webplanners map. Currently are suported Strava, Komoot, Brouter, RWGPS, Garmin and Mapy.cz route builder. Ether add the functionality to route planner or check with stathunters author to add Locus to sites supported by extension.


https://addons.mozilla.org/cs/firefox/addon/statshunters/

Thanks

Replies (5)

photo
1

Somewhat related: for Locus Map app itself, https://github.com/liskin/liscopridge/blob/main/src/liscopridge/app/statshunters.md can be used.

Totally related: the StatsHunters author is very friendly and open, and has given me permission to analyze the source code of his extension and reuse his code in my own strava-map-switcher extension (to add Garmin support, but I haven't managed to find time for that yet), so I'm sure he'll be delighted if someone extracts the source for his extension, adds Locus Web Planner support and sends a patch.

I'm certainly qualified to do that, I'm just somewhat busy these days so I may need a nudge or two to get to it. A nudge that @skvedo will surely be happy to provide. But I certainly don't mind if anyone else takes initiative here, either. :-)

photo
1

I sent the following patch for the StatsHunters extension to Stan today: https://gist.github.com/liskin/86b6ab31a45fed2e276504760d0b62f7

As you can see (https://gist.github.com/liskin/86b6ab31a45fed2e276504760d0b62f7#file-0001-add-support-for-locus-map-web-patch-L49), the code for getting to the Leaflet map instance is a bit of a hack, so if someone from the Locus team could provide a better way by exposing the instance in a global variable somewhere, that would be wonderful and would ease maintenance (the hack can easily stop working with future Leaflet.js upgrades). As an inspiration, BRouter exposes this in window.BR.debug.map.

photo
1

This seems to have gone broken recently. Tiles are not being displayed in the planner.

photo
1

Guys there is already working overlay https://vv.fork.pl/ I'm using it to plan & navigate while tiling.

photo
1

But you have to take out a subscription for this solution.

photo
1

Nope. If you're using Locus v3 it's still free (as you can see on the screenshot from v3).

photo
1

I've just looked at it too. veloviewer is only free for 25 activities. Then I have to pay. But maybe you know how to do it differently. I would like to see all the tracks from the last 5 years.

photo
1

No, guys. Scroll down for "Setup Locus Map" and "Configure for StatHunters" on https://vv.fork.pl/ but I can confirm that this webpage need some polishing (will give feedback to author).

photo
1

I now have 2 xml that are displayed to me. In Locus I only see the squares but no tracks. In veloviewer update I see no options but only the possibility to make a subscription.


auf Statshunters kann ich meine Tracks sehen.

photo
photo
2

I'd like to leave a comment that this works again, as before. Not sure what changed.

49e1936dce9abd1cbc8d496b63f1efa5

Leave a Comment
 
Attach a file