Stathunters tiles support in Web planner

skvedo shared this idea 2 years ago
Gathering feedback

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


Replies (2)


Somewhat related: for Locus Map app itself, 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. :-)


I sent the following patch for the StatsHunters extension to Stan today:

As you can see (, 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

Leave a Comment
Attach a file