Asked for in Discord: "raidplan.io bitte einbauen für die harten Dungeons". raidplan.io has no Aion 2
(only WoW, FFXIV, Lost Ark, New World), so the map tactics got what it offers.
- Dungeon maps: the in-game map textures of 11 expeditions, 7 transcendence dungeons, the 3 sanctuaries
(Ludra, Corroded Decontamination Facility, Chalice of Muspel), the 6 awakening towers and 3
subjugations, as published by the DPS meter Waffle-ens/waffle_meter (dotnet/Assets/Maps, pinned
commit). assets/map/dungeons/dungeons.json is kept by hand: groups, slugs (= tactics.map_slug),
German names from the Global client (aion2.app), KR/TW-only dungeons marked as unavailable, boss
hints for the awakening towers. scripts/download_dungeon_maps.py fetches the images, writes
dungeons/<slug>.webp (2048 px, about 3 MB in total, in Git) and the previews, and finds the dungeon
area (bounds) by comparing each map with the shared background of all maps. Two empty arenas
(round, square) are drawn in code.
- Viewer: image maps and arenas next to the tile maps (MapView.drawImageMap/drawArena, half zoom
steps, opens fitted to the dungeon beside the tactic panel), map picker with the tabs "Welt" and
"Dungeons & Raids", each area remembers its last map, no category panel without markers. The mouse
wheel zooms to the cursor.
- New page raidplan.php ("Raidplaner" in the menu, map.view) = map.php started in the dungeon area.
Location links on dungeon maps point to /raidplan.php and are recognized in texts and by the
calendar picker.
- Tokens (shape type 'token', TokenIcons.js): classes, roles, players 1-8, markers A-D and symbols,
boss, add, danger, stack, spread, tower, orb, bomb. Colour and size come from the toolbar, numbers
and letters count up while placing, tokens are drawn above areas. Server whitelist
TACTIC_TOKEN_ICONS.
- Move tool (✥) with label/delete actions above the selected shape, double click and Del; new action
shape_update in tactics_api.php (points and label, same permissions, snapshot before). Undo also
reverts moves and labels. Rectangle and cone tools, saved as areas.
- Step transitions: tactic_shapes.ref is kept by "Kopie dieses Schritts", tactic copies and restores
(existing shapes get s<id>), so the same shape glides to its new place when stepping or playing;
play button (and space) runs through all steps. 🔗 copies a link to the tactic and step
(?taktik=&schritt=), which opens it after loading.
- Live view: the bot relay only knows the old shape types and events, so placing tokens and moving
send "changed" and the others reload - no bot deploy needed.
- Schema version 60 (tactic_shapes.icon, .ref, enum 'token'; also in sql/schema.sql), tour step on the
dashboard, patch notes and README.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| dungeons | ||
| js | ||
| previews | ||
| scripts | ||
| .htaccess | ||
| app.js | ||
| index.html | ||
| README.md | ||
| styles.css | ||
Aion 2 Interactive Map Viewer (SecondTry)
A modern, multi-map interactive viewer for Aion 2 maps from interactivemap.app.
Features
- Multi-map support: View all available Aion 2 maps with easy map switching
- Tile-based rendering: Efficient canvas rendering with tile caching and preloading
- Marker overlay: Display thousands of markers with category filtering
- Zoom & pan: Smooth navigation with mouse wheel, drag, and keyboard shortcuts
- Category filters: Toggle visibility of marker categories by group or individually
- Tooltips: Hover over markers to see details
Architecture
This implementation follows MVC (Model-View-Controller) pattern:
SecondTry/
├── index.html # Main HTML page
├── styles.css # Stylesheet with CSS variables
├── app.js # Application entry point
├── js/
│ ├── config.js # Configuration constants
│ ├── models/
│ │ └── MapData.js # Data model for maps and markers
│ ├── services/
│ │ ├── TileService.js # Tile loading and caching
│ │ └── MarkerService.js # Marker data management
│ ├── views/
│ │ └── MapView.js # Canvas rendering
│ └── controllers/
│ └── MapController.js # Main application controller
├── scripts/
│ ├── download_all_maps.py # Download tiles for all maps
│ ├── download_marker_icons.py # Download marker icon graphics
│ └── extract_all_markers.py # Extract markers for all maps
└── data/
├── maps.json # List of all available maps (generated by download script)
├── icons/ # Marker icon graphics (downloaded)
│ ├── icon-poi.png
│ ├── aldelle-village.png
│ └── ...
├── tiles/ # Per-map tile directories
│ ├── verteron/
│ ├── elysea/
│ └── ...
└── markers/ # Per-map marker JSON files
├── verteron_markers.json
├── elysea_markers.json
└── ...
Setup
1. Download Map Data
Run the Python scripts to download tiles and extract markers:
# Download all map tiles (zoom levels 2-6)
python scripts/download_all_maps.py
# Extract markers for all maps
python scripts/extract_all_markers.py
# Download marker icon graphics
python scripts/download_marker_icons.py
# Or for a specific map only
python scripts/download_all_maps.py --map verteron
python scripts/extract_all_markers.py --map verteron
The download script automatically generates data/maps.json which lists all available maps. This local file is used by the viewer instead of calling the remote API directly (avoids CORS issues).
2. Serve the Viewer
The viewer requires a local web server due to CORS restrictions on fetch requests:
# Using Python's built-in HTTP server
cd SecondTry
python -m http.server 8080
# Or using Node.js
npx serve . -p 8080
Then open http://localhost:8080 in your browser.
Controls
| Action | Control |
|---|---|
| Zoom In | Mouse wheel up, + key, or + button |
| Zoom Out | Mouse wheel down, - key, or − button |
| Pan | Click and drag |
| Reset View | 0 key or ⟲ button |
| Switch Map | Use the dropdown selector at top |
| Filter Categories | Checkboxes in bottom-left panel |
Data Format
Tile Manifest (tile_manifest.json)
{
"tiles": ["2_0_0", "2_0_1", "3_1_2", ...]
}
Marker Data (<slug>_markers.json)
{
"source": "https://interactivemap.app/aion2/maps/verteron",
"extracted_at_utc": "2026-09-20T12:12:39Z",
"map": {
"id": "1",
"name": "Verteron",
"slug": "verteron"
},
"marker_count": 14729,
"markers": [
{
"id": "34739",
"name": "Point of Interest",
"group_name": "Community",
"category_name": "Point of Interest",
"coordinates": [1505.46, 1585.43],
"properties": { ... }
}
]
}
Improvements Over FirstTry
- Multi-map support: Not limited to a single map (Verteron/Elysea)
- MVC architecture: Clean separation of concerns with proper OOP classes
- Service layer: Dedicated services for tile and marker management
- Local maps list: Generates
data/maps.jsonto avoid CORS issues when loading from localhost - Real icon graphics: Downloads and displays actual marker icons instead of emoji symbols
- Better error handling: Graceful fallbacks when data is missing
- Loading states: Visual feedback during map loading
- Modular CSS: Uses CSS variables for easy theming
Dependencies
- Python 3 (standard library only) for download scripts
- Modern web browser with ES6+ support
- No external JavaScript libraries required