experimentally remove retina support

This commit is contained in:
Mateusz Konieczny 2023-01-18 18:10:42 +01:00
parent 5fdd586820
commit d73e7271dc
5 changed files with 5 additions and 5 deletions

View File

@ -14,6 +14,6 @@ export function BuildingBaseLayerAllZoom({ theme }: {theme: MapTheme}) {
url={getTileLayerUrl(tileset)}
minZoom={1}
maxZoom={109}
detectRetina={true}
detectRetina={false}
/>;
}

View File

@ -14,6 +14,6 @@ export function BuildingBaseLayer({ theme }: {theme: MapTheme}) {
url={getTileLayerUrl(tileset)}
minZoom={14}
maxZoom={19}
detectRetina={true}
detectRetina={false}
/>;
}

View File

@ -11,6 +11,6 @@ export function BuildingDataLayer({tileset, revisionId} : { tileset: BuildingMap
url={getTileLayerUrl(tileset, {rev: revisionId})}
minZoom={9}
maxZoom={19}
detectRetina={true}
detectRetina={false}
/>;
}

View File

@ -9,6 +9,6 @@ export function BuildingNumbersLayer({revisionId}: {revisionId: string}) {
url={getTileLayerUrl('number_labels', {rev: revisionId})}
minZoom={17}
maxZoom={19}
detectRetina={true}
detectRetina={false}
/>;
}

View File

@ -31,7 +31,7 @@ export function CityBaseMapLayer({ theme }: { theme: MapTheme }) {
attribution={attribution}
maxNativeZoom={18}
maxZoom={19}
detectRetina={true}
detectRetina={false}
className={theme_class}
/>;
}