Update public source
This commit is contained in:
@@ -16,6 +16,7 @@ from reports.template import (
|
||||
page_end,
|
||||
)
|
||||
from reports.map_popups import build_standard_popup
|
||||
from reports.map_service import get_map_style_url
|
||||
|
||||
def esc(value):
|
||||
return html.escape("" if value is None else str(value), quote=True)
|
||||
@@ -932,7 +933,7 @@ def render_map(geojson, context, title):
|
||||
|
||||
const map = new maplibregl.Map({{
|
||||
container: "access-point-history-map",
|
||||
style: "http://127.0.0.1:8080/styles/server-map/style.json",
|
||||
style: {json.dumps(get_map_style_url())},
|
||||
center: [30.32, 59.93],
|
||||
zoom: 5
|
||||
}});
|
||||
|
||||
Reference in New Issue
Block a user