From d73e7271dc66ba185fb21050332d4745f7ec51c1 Mon Sep 17 00:00:00 2001 From: Mateusz Konieczny Date: Wed, 18 Jan 2023 18:10:42 +0100 Subject: [PATCH] experimentally remove retina support --- app/src/frontend/map/layers/building-base-layer-all-zoom.tsx | 2 +- app/src/frontend/map/layers/building-base-layer.tsx | 2 +- app/src/frontend/map/layers/building-data-layer.tsx | 2 +- app/src/frontend/map/layers/building-numbers-layer.tsx | 2 +- app/src/frontend/map/layers/city-base-map-layer.tsx | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/src/frontend/map/layers/building-base-layer-all-zoom.tsx b/app/src/frontend/map/layers/building-base-layer-all-zoom.tsx index d5d5835e..635699d4 100644 --- a/app/src/frontend/map/layers/building-base-layer-all-zoom.tsx +++ b/app/src/frontend/map/layers/building-base-layer-all-zoom.tsx @@ -14,6 +14,6 @@ export function BuildingBaseLayerAllZoom({ theme }: {theme: MapTheme}) { url={getTileLayerUrl(tileset)} minZoom={1} maxZoom={109} - detectRetina={true} + detectRetina={false} />; } diff --git a/app/src/frontend/map/layers/building-base-layer.tsx b/app/src/frontend/map/layers/building-base-layer.tsx index c491102b..7ab26b95 100644 --- a/app/src/frontend/map/layers/building-base-layer.tsx +++ b/app/src/frontend/map/layers/building-base-layer.tsx @@ -14,6 +14,6 @@ export function BuildingBaseLayer({ theme }: {theme: MapTheme}) { url={getTileLayerUrl(tileset)} minZoom={14} maxZoom={19} - detectRetina={true} + detectRetina={false} />; } diff --git a/app/src/frontend/map/layers/building-data-layer.tsx b/app/src/frontend/map/layers/building-data-layer.tsx index c841d205..f709a02e 100644 --- a/app/src/frontend/map/layers/building-data-layer.tsx +++ b/app/src/frontend/map/layers/building-data-layer.tsx @@ -11,6 +11,6 @@ export function BuildingDataLayer({tileset, revisionId} : { tileset: BuildingMap url={getTileLayerUrl(tileset, {rev: revisionId})} minZoom={9} maxZoom={19} - detectRetina={true} + detectRetina={false} />; } \ No newline at end of file diff --git a/app/src/frontend/map/layers/building-numbers-layer.tsx b/app/src/frontend/map/layers/building-numbers-layer.tsx index 76f8eb2e..f556f8f5 100644 --- a/app/src/frontend/map/layers/building-numbers-layer.tsx +++ b/app/src/frontend/map/layers/building-numbers-layer.tsx @@ -9,6 +9,6 @@ export function BuildingNumbersLayer({revisionId}: {revisionId: string}) { url={getTileLayerUrl('number_labels', {rev: revisionId})} minZoom={17} maxZoom={19} - detectRetina={true} + detectRetina={false} />; } diff --git a/app/src/frontend/map/layers/city-base-map-layer.tsx b/app/src/frontend/map/layers/city-base-map-layer.tsx index bfa58f4e..39656a40 100644 --- a/app/src/frontend/map/layers/city-base-map-layer.tsx +++ b/app/src/frontend/map/layers/city-base-map-layer.tsx @@ -31,7 +31,7 @@ export function CityBaseMapLayer({ theme }: { theme: MapTheme }) { attribution={attribution} maxNativeZoom={18} maxZoom={19} - detectRetina={true} + detectRetina={false} className={theme_class} />; }