Update public source
This commit is contained in:
@@ -12,6 +12,7 @@ from reports.utils import (
|
||||
format_datetime as format_report_datetime,
|
||||
)
|
||||
from reports.map_popups import build_standard_popup
|
||||
from reports.map_service import get_map_style_url
|
||||
|
||||
def esc(value):
|
||||
|
||||
@@ -408,7 +409,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,
|
||||
@@ -1181,6 +1182,11 @@ window.setTimeout(
|
||||
marker_js,
|
||||
)
|
||||
|
||||
map_html = map_html.replace(
|
||||
"__MAP_STYLE_URL__",
|
||||
json.dumps(get_map_style_url()),
|
||||
)
|
||||
|
||||
return map_html
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user