The Karte page now embeds a standalone viewer (assets/map/) covering all ten regions - Verteron, Altgard, Elthen, Morheim, Poeta, Ishalgen and the Reshanta maps - with markers and category filters from interactivemap.app. map.php loads it in an iframe because its stylesheet restyles body, button and * globally and would otherwise break the site layout. The tile, marker and icon data (~230 MB, ~39,000 files) is kept out of Git and uploaded by FTP; the README explains where it comes from. Removed with it: own markers and categories, tactic layers, the in-browser map builder, the tile/stitch/viewer tools, the bundled Leaflet, the four map tables in schema.sql and the map.manage / map.tactics permissions. Existing databases keep their old map tables untouched. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
13 lines
544 B
PHP
13 lines
544 B
PHP
<?php
|
|
require_once __DIR__ . '/includes/bootstrap.php';
|
|
require_permission('map.view');
|
|
|
|
// Die Karte ist ein eigenstaendiger Viewer (assets/map/) mit eigenem Stylesheet, das
|
|
// global auf body/button/* greift. Im iframe bleibt er vom Seitenlayout getrennt und
|
|
// laeuft unveraendert so, wie er geliefert wurde.
|
|
$pageTitle = 'Karte';
|
|
$containerWide = true;
|
|
include __DIR__ . '/includes/header.php';
|
|
?>
|
|
<iframe class="map-frame" src="/assets/map/index.html" title="Interaktive Karte"></iframe>
|
|
<?php include __DIR__ . '/includes/footer.php'; ?>
|