Update public source

This commit is contained in:
2026-11-15 16:11:27 +03:00
parent b50baedda4
commit f7d78c0ea6
6 changed files with 36 additions and 9 deletions
+7 -1
View File
@@ -7,6 +7,7 @@ from reports.access_points import (
load_access_points,
)
from reports.map_popups import build_standard_popup
from reports.map_service import get_map_style_url
from reports.template import (
ReportContext,
card,
@@ -216,7 +217,7 @@ const map = new maplibregl.Map({
container: "map",
style:
"http://127.0.0.1:8080/styles/server-map/style.json",
__MAP_STYLE_URL__,
center: [
30.32,
@@ -671,6 +672,11 @@ window.setTimeout(
marker_js,
)
map_html = map_html.replace(
"__MAP_STYLE_URL__",
json.dumps(get_map_style_url()),
)
return map_html