$urls[] = $url;
}
- foreach (['lw', 'dw', 'sp', 'uw'] as $map) {
+ foreach (['lw', 'dw', 'sp', 'uw', 'uw2'] as $map) {
$tech = TechniqueMap::where('map', '=', $map)->latest()->first();
$url = new SitemapUrl();
$url->path = '/map/'.$map;
return <div className="mt-5">
<div className="button-bar">
- {['lw', 'dw', 'sp', 'uw'].map(map =>
+ {['lw', 'dw', 'sp', 'uw', 'uw2'].map(map =>
<Button
active={activeMap === map}
key={map}
maxLevel: 14,
tilesUrl: '/media/alttp/map/uw_files/',
fileFormat: 'png',
+ }), new OpenSeadragon.DziTileSource({
+ width: 16384,
+ height: 3072,
+ tileSize: 256,
+ tileOverlap: 0,
+ minLevel: 8,
+ maxLevel: 14,
+ tilesUrl: '/media/alttp/map/uw2_files/',
+ fileFormat: 'png',
}),
],
});
case 'uw':
viewer.goToPage(3);
break;
+ case 'uw2':
+ viewer.goToPage(4);
+ break;
}
const controller = new AbortController();
axios.get(`/api/markers/${activeMap}`, {
onThisMap: 'Auf dieser Karte',
spLong: 'Spezielle Gebiete',
spShort: 'SP',
+ uw2Long: 'Underworld 2',
+ uw2Short: 'UW2',
uwLong: 'Underworld',
uwOverlay: 'Gitter zigen',
uwShort: 'UW',
onThisMap: 'On this map',
spLong: 'Special Areas',
spShort: 'SP',
+ uw2Long: 'Underworld 2',
+ uw2Short: 'UW2',
uwLong: 'Underworld',
uwOverlay: 'Show grid',
uwShort: 'UW',