Update public source
This commit is contained in:
@@ -39,6 +39,7 @@ from reports.template import (
|
||||
ReportContext,
|
||||
)
|
||||
from reports.map_popups import build_standard_popup
|
||||
from reports.map_service import get_map_style_url
|
||||
|
||||
# ============================================================
|
||||
# Helpers
|
||||
@@ -865,7 +866,7 @@ const map = new maplibregl.Map({
|
||||
|
||||
style:
|
||||
|
||||
"http://127.0.0.1:8080/styles/server-map/style.json",
|
||||
__MAP_STYLE_URL__,
|
||||
|
||||
center: [
|
||||
|
||||
@@ -2672,6 +2673,11 @@ Session folder:
|
||||
|
||||
html += page_end()
|
||||
|
||||
html = html.replace(
|
||||
"__MAP_STYLE_URL__",
|
||||
json.dumps(get_map_style_url()),
|
||||
)
|
||||
|
||||
return html
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user