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>
67 lines
No EOL
2.3 KiB
HTML
67 lines
No EOL
2.3 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="en">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
<title>Aion 2 - Interactive Map Viewer</title>
|
||
<link rel="stylesheet" href="styles.css">
|
||
</head>
|
||
<body>
|
||
<!-- Main map container -->
|
||
<div id="map-container">
|
||
<canvas id="map-canvas"></canvas>
|
||
|
||
<!-- Loading overlay -->
|
||
<div id="loading-overlay" class="hidden">
|
||
<div class="spinner"></div>
|
||
<p>Loading map data...</p>
|
||
</div>
|
||
|
||
<!-- UI Overlay -->
|
||
<div id="ui-overlay">
|
||
<!-- Title bar with map selector -->
|
||
<header id="title-bar" class="panel">
|
||
<h1>Aion 2</h1>
|
||
<div class="map-selector-container">
|
||
<select id="map-select" aria-label="Select map">
|
||
<option value="">Loading maps...</option>
|
||
</select>
|
||
</div>
|
||
</header>
|
||
|
||
<!-- Zoom controls -->
|
||
<aside id="zoom-controls" class="panel">
|
||
<button id="btn-zoom-in" title="Zoom In (+)">+</button>
|
||
<button id="btn-zoom-out" title="Zoom Out (-)">−</button>
|
||
<button id="btn-reset-view" title="Reset View (0)">⟲</button>
|
||
</aside>
|
||
|
||
<!-- Category filter panel -->
|
||
<aside id="category-panel" class="panel">
|
||
<h3>Categories</h3>
|
||
<div id="categories-list"></div>
|
||
</aside>
|
||
|
||
<!-- Zoom level indicator -->
|
||
<footer id="zoom-indicator" class="panel">
|
||
Zoom: <span id="zoom-level">2</span>
|
||
</footer>
|
||
</div>
|
||
|
||
<!-- Tooltip for marker hover -->
|
||
<div id="tooltip" class="hidden">
|
||
<div class="name"></div>
|
||
<div class="category"></div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- Application scripts -->
|
||
<script src="js/config.js"></script>
|
||
<script src="js/models/MapData.js"></script>
|
||
<script src="js/services/TileService.js"></script>
|
||
<script src="js/services/MarkerService.js"></script>
|
||
<script src="js/views/MapView.js"></script>
|
||
<script src="js/controllers/MapController.js"></script>
|
||
<script src="app.js"></script>
|
||
</body>
|
||
</html> |