nakarte

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

commit 513b56088b261431cf324f1c2969fff0c8d21204
parent ecf6ef3b35d8d29114dd1a30b6b497bbd0031809
Author: Sergej Orlov <wladimirych@gmail.com>
Date:   Sat, 21 Jun 2025 14:44:26 +0200

layers: avoid double request to proxy for Strava layers

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

diff --git a/src/layers.js b/src/layers.js @@ -692,7 +692,7 @@ class LayerGroupWithOptions extends L.LayerGroup { print: true, jnx: false, subdomains: 'abc', - noCors: true, + noCors: false, shortName: 'strava_all', retinaOptionsOverrides: [{maxNativeZoom: 16}, {maxNativeZoom: 15}], attribution: '<a href="https://www.strava.com/heatmap">Strava Global Heatmap</a>', @@ -720,7 +720,7 @@ class LayerGroupWithOptions extends L.LayerGroup { print: true, jnx: false, subdomains: 'abc', - noCors: true, + noCors: false, shortName: 'strava_run', retinaOptionsOverrides: [{maxNativeZoom: 16}, {maxNativeZoom: 15}], attribution: '<a href="https://www.strava.com/heatmap">Strava Global Heatmap</a>', @@ -748,7 +748,7 @@ class LayerGroupWithOptions extends L.LayerGroup { print: true, jnx: false, subdomains: 'abc', - noCors: true, + noCors: false, shortName: 'strava_ride', retinaOptionsOverrides: [{maxNativeZoom: 16}, {maxNativeZoom: 15}], attribution: '<a href="https://www.strava.com/heatmap">Strava Global Heatmap</a>', @@ -776,7 +776,7 @@ class LayerGroupWithOptions extends L.LayerGroup { print: true, jnx: false, subdomains: 'abc', - noCors: true, + noCors: false, shortName: 'strava_winter', retinaOptionsOverrides: [{maxNativeZoom: 16}, {maxNativeZoom: 15}], attribution: '<a href="https://www.strava.com/heatmap">Strava Global Heatmap</a>',