nakarte

Source code of https://map.sikmir.ru (fork)
git clone git://git.sikmir.ru/nakarte
Log | Files | Refs | LICENSE

commit 8e700bc5d3fee6238511929cadf0b96eb13c4e09
parent 2e460dbf967a65f678473106f727551f028024b8
Author: Sergej Orlov <wladimirych@gmail.com>
Date:   Thu, 27 Mar 2025 15:43:58 +0100

Update URLs for strava heatmap

Diffstat:
Msrc/layers.js | 16++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/layers.js b/src/layers.js @@ -678,10 +678,10 @@ class LayerGroupWithOptions extends L.LayerGroup { layer: new RetinaTileLayer( [ urlViaCorsProxy( - 'https://heatmap-external-a.strava.com/tiles-auth/all/hot/{z}/{x}/{y}.png?px=256' + 'https://content-a.strava.com/identified/globalheat/all/hot/{z}/{x}/{y}.png?px=256' ), urlViaCorsProxy( - 'https://heatmap-external-a.strava.com/tiles-auth/all/hot/{z}/{x}/{y}.png?px=512' + 'https://content-a.strava.com/identified/globalheat/all/hot/{z}/{x}/{y}.png?px=512' ), ], { @@ -706,10 +706,10 @@ class LayerGroupWithOptions extends L.LayerGroup { layer: new RetinaTileLayer( [ urlViaCorsProxy( - 'https://heatmap-external-a.strava.com/tiles-auth/run/hot/{z}/{x}/{y}.png?px=256' + 'https://content-a.strava.com/identified/globalheat/run/hot/{z}/{x}/{y}.png?px=256' ), urlViaCorsProxy( - 'https://heatmap-external-a.strava.com/tiles-auth/run/hot/{z}/{x}/{y}.png?px=512' + 'https://content-a.strava.com/identified/globalheat/run/hot/{z}/{x}/{y}.png?px=512' ), ], { @@ -734,10 +734,10 @@ class LayerGroupWithOptions extends L.LayerGroup { layer: new RetinaTileLayer( [ urlViaCorsProxy( - 'https://heatmap-external-a.strava.com/tiles-auth/ride/hot/{z}/{x}/{y}.png?px=256' + 'https://content-a.strava.com/identified/globalheat/ride/hot/{z}/{x}/{y}.png?px=256' ), urlViaCorsProxy( - 'https://heatmap-external-a.strava.com/tiles-auth/ride/hot/{z}/{x}/{y}.png?px=512' + 'https://content-a.strava.com/identified/globalheat/ride/hot/{z}/{x}/{y}.png?px=512' ), ], { @@ -762,10 +762,10 @@ class LayerGroupWithOptions extends L.LayerGroup { layer: new RetinaTileLayer( [ urlViaCorsProxy( - 'https://heatmap-external-a.strava.com/tiles-auth/winter/hot/{z}/{x}/{y}.png?px=256' + 'https://content-a.strava.com/identified/globalheat/winter/hot/{z}/{x}/{y}.png?px=256' ), urlViaCorsProxy( - 'https://heatmap-external-a.strava.com/tiles-auth/winter/hot/{z}/{x}/{y}.png?px=512' + 'https://content-a.strava.com/identified/globalheat/winter/hot/{z}/{x}/{y}.png?px=512' ), ], {