fix: Kartographer tile server und srcset scales dokumentiert
All checks were successful
Docker Build & Push / build (push) Successful in 1m59s
All checks were successful
Docker Build & Push / build (push) Successful in 1m59s
- MapServer jetzt auf /styles endpoint konfiguriert - SrcsetScales auf [1] gesetzt um @2x requests zu vermeiden - bracketDevicePixelRatio in Map.js hart auf 1x gesetzt Diese Änderungen verhindern 404-Fehler bei @2x tile requests auf tile.openstreetmap.org und setzen auf 1x raster tiles.
This commit is contained in:
parent
627a1b1306
commit
48c0d525f7
1 changed files with 2 additions and 2 deletions
|
|
@ -33,13 +33,13 @@ In LocalSettings.php:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
wfLoadExtension( 'Kartographer' );
|
wfLoadExtension( 'Kartographer' );
|
||||||
$wgKartographerMapServer = 'https://tiles.rd13server.de';
|
$wgKartographerMapServer = 'https://tiles.rd13server.de/styles';
|
||||||
$wgKartographerStyles = [
|
$wgKartographerStyles = [
|
||||||
'osm-bright',
|
'osm-bright',
|
||||||
'satellite-hybrid',
|
'satellite-hybrid',
|
||||||
];
|
];
|
||||||
$wgKartographerDfltStyle = 'osm-bright';
|
$wgKartographerDfltStyle = 'osm-bright';
|
||||||
$wgKartographerSrcsetScales = [ 1, 1.5, 2 ];
|
$wgKartographerSrcsetScales = [ 1 ];
|
||||||
```
|
```
|
||||||
|
|
||||||
### Schnelltest im Wiki
|
### Schnelltest im Wiki
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue