(int) $child['id'], 'name' => (string) $child['name'], 'group' => (string) $group['name'], 'icon' => (string) $child['icon'], 'color' => (string) $child['color'], ]; } } $totalMarkers = count($markers); $pageTitle = 'Karte'; $containerWide = true; include __DIR__ . '/includes/header.php'; ?>
Es ist noch keine Karte hinterlegt. Die Karte wird als Kachel-Pyramide ausgeliefert (mehrere Zoomstufen), damit sie auch nah herangezoomt scharf bleibt.
python tools/stitch_map_screenshots.py shots/ -o verteron.png --crop=0,60,0,120php tools/make_map_tiles.php verteron verteron.png --name="Verteron"assets/uploads/maps/verteron/ per FTP hochladen.
Danach erscheint die Karte hier automatisch - mehrere Regionen nebeneinander funktionieren
genauso, jeder Unterordner mit einer tiles.json wird zu einer eigenen Karte.