Files
wifi-gps-mapper-public/reports/map_service.py
T
2026-11-17 14:57:52 +03:00

22 lines
399 B
Python

"""
Centralized map service configuration.
"""
import sys
from pathlib import Path
PROJECT_ROOT = Path(__file__).resolve().parent.parent
if str(PROJECT_ROOT) not in sys.path:
sys.path.insert(0, str(PROJECT_ROOT))
from src.tileserver_config import load_tileserver_config
MAP_STYLE_URL = load_tileserver_config(PROJECT_ROOT)["style_url"]
def get_map_style_url():
return MAP_STYLE_URL