feat(map): Implement interactive area overlays

This major update introduces a complete system for visualizing protected areas on the OpenLayers map. It adds a new sync script to process area data and heavily modifies the frontend to support interactive, multi-layer display with custom popups.

Additionally, data-sync scripts were refactored to run globally on all configured worlds, simplifying cron automation.
This commit is contained in:
Rainer 2025-06-23 01:41:17 +02:00
parent fa94f0e23d
commit a225feef98
11 changed files with 568 additions and 687 deletions

View file

@ -33,8 +33,8 @@ else
fi
# Checks für andere Programme, die im PATH sein sollten
# KORREKTUR: 'convert' und 'identify' entfernt, 'vips' hinzugefügt
declare -a runtime_deps_in_path=("gdal2tiles.py" "vips" "ss")
# HINZUGEFÜGT: sqlite3 und jq
declare -a runtime_deps_in_path=("gdal2tiles.py" "vips" "ss" "bc" "sqlite3" "jq")
for dep in "${runtime_deps_in_path[@]}"; do
if ! command -v "$dep" &> /dev/null; then
echo "[-] FEHLER: Das benötigte Programm '$dep' wurde nicht im System-Pfad gefunden."
@ -79,6 +79,9 @@ if [ "$missing_count" -gt 0 ]; then
echo " - gdal-bin: Enthält 'gdal2tiles.py'."
echo " - libvips-tools: Enthält 'vips' für die Bildbearbeitung."
echo " - iproute2: Enthält 'ss' (meist vorinstalliert)."
echo " - bc: Für mathematische Operationen in Skripten."
echo " - sqlite3: Zur Abfrage der Spieldatenbanken."
echo " - jq: Zur Verarbeitung von JSON in Skripten."
echo ""
echo " Build-Pakete (zum Kompilieren von minetestmapper):"
echo " - sudo apt-get install cmake libgd-dev libhiredis-dev libleveldb-dev libpq-dev libsqlite3-dev zlib1g-dev libzstd-dev"