zekefarwell / josm-strava-heatmap

A browser extension that simplifies getting the TMS imagery url for using the Strava Heatmap in JOSM
MIT License
62 stars 3 forks source link

turn "both" layer the default #1

Closed erickdeoliveiraleal closed 2 years ago

erickdeoliveiraleal commented 3 years ago

today the "all" layer is the default, I believe the "both" is sharper

zekefarwell commented 3 years ago

I'm not aware of a "both" layer. The activity layers I see available are all, ride, run, water, and winter. This extension uses whichever layer is currently selected by pulling the activity and color values from the url. When I originally wrote this the url would change from strava.com/heatmap#.../hot/all to strava.com/heatmap#.../hot/ride as soon as you clicked a different activity. Now the url isn't changing right away for me, but it does change when I move the map a bit. So that's a bit of an annoying workaround, but it is possible to get the correct layer url for whichever activity and color combination you want to use.

erickdeoliveiraleal commented 3 years ago

this is the url i'm talkin about, which offer sharper traces tms[3,15]: https://heatmap-external-{switch:a,b,c}.strava.com/tiles-auth/both/bluered/

Em dom., 27 de jun. de 2021 às 15:46, Zeke Farwell @.***> escreveu:

I'm not aware of a "both" layer. The activity layers I see available are all, ride, run, water, and winter. This extension uses whichever layer is currently selected by pulling the activity and color values from the url. When I originally wrote this the url would change from strava.com/heatmap#.../hot/all to strava.com/heatmap#.../hot/ride as soon as you clicked a different activity. Now the url isn't changing right away for me, but it does change when I move the map a bit. So that's a bit of an annoying workaround, but it is possible to get the correct layer url for whichever activity and color combination you want to use.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zekefarwell/josm-strava-heatmap/issues/1#issuecomment-869208335, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA3JYSOKPYJOF7OOTD7VG2DTU5WXDANCNFSM47MNEFZQ .

zekefarwell commented 3 years ago

Interesting. Tiles with that url format are not viewable through the web interface at strava.com/heatmap. This extension relies on the Strava UI for selecting the color and activity so there's not a simple way to support these hidden tiles at the moment. A separate UI would need to be created.

andrewsuzuki commented 3 years ago

Interesting, I was also using both (as described on the Strava osm wiki article), but it stopped working today for me (which led me to this extension, nice!). Using all now, which works.

zekefarwell commented 2 years ago

Closing this since the both url isn't working anymore