LuminaWebsite/assets/map/js/config.js
Maaxxs c5213b5736 Karte: replace the tactical map with the interactive map viewer
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>
2026-09-21 06:54:17 +02:00

99 lines
No EOL
2.5 KiB
JavaScript

/**
* Aion 2 Map Viewer - Configuration
*/
const CONFIG = {
// Tile settings
TILE_SIZE: 256,
MIN_ZOOM: 2,
MAX_ZOOM: 6,
// World coordinate system (fixed for all maps)
WORLD_MIN_X: 0,
WORLD_MAX_X: 4096,
WORLD_MIN_Y: 0,
WORLD_MAX_Y: 4096,
// Data paths
TILES_DIR: 'data/tiles',
MARKERS_DIR: 'data/markers',
ICONS_DIR: 'data/icons',
// Local maps list (generated by download scripts to avoid CORS)
MAPS_LIST: 'data/maps.json',
// Category symbols (emoji)
CATEGORY_SYMBOLS: {
'Settlement': '🏘️',
'Stronghold': '🏰',
'Dungeon': '🕳️',
'Sealed Dungeon': '🔒',
'Region': '🗺️',
'Updraft': '💨',
'Rift': '⚡',
'Kibelisk': '🐉',
'Verteron Monolith': '🗿',
'Intellect': '🧠',
'Wild Monsters': '🐺',
'Feral': '🦁',
'Nature': '🌿',
'Special': '✨',
'Named Bosses': '💀',
'Citizens': '👤',
'NPC': '🗣️',
'General Goods Merchant': '🛒',
'Events': '🎉',
'Instance Entries': '🚪',
'Storage Manager': '📦',
'Alchemy Table': '⚗️',
'Armorsmithing Table': '🛡️',
'Blacksmithing Table': '⚒️',
'Cooking Table': '🍳',
'Handicrafting': '✂️',
'Morph Merchant': '🔄',
'Odyle': '💎',
'Orihalum Ore': '⛏️',
'Sapphire Gemstone': '💠',
'Diamond Gemstone': '💎',
'Ruby Gemstone': '❤️',
'Aria': '🌸',
'Yggdrasil Log': '🪵',
'Targena': '🍄',
'Kukuru': '🥜',
'Cypri': '🫐',
'Inina': '🌺',
'Coriolus': '🍂',
'Mela': '🍇',
'Empyrean Trace': '🔮',
'Hidden Cube': '📦',
'Boss': '👑',
'Fera': '🐾',
'Natura': '🌱',
'Cogni': '🤖',
'Varian': '🎭',
'Story Quests': '📜',
'Regional Quest': '🏴',
'Spawn Location': '🥚',
'Point of Interest': '⭐'
},
// Category colors by group
CATEGORY_COLORS: {
'Locations': '#3388FF',
'Monsters': '#FF4444',
'NPC': '#44AA44',
'Resources': '#FFAA00',
'Collectibles': '#AA44FF',
'Pets': '#FF66CC',
'Quests': '#FFFF44',
'Spawns': '#44AAAA',
'Community': '#FFFFFF'
}
};