"""Dark Bay Area map (Leaflet) with glow-orange markers for the transit mode."""
from __future__ import annotations
import base64
import json
_TEMPLATE = r"""
>> BAYLINE // 511 LIVE
"""
def build_map_html(markers, stamp: str = "") -> str:
data = {"markers": markers or [], "stamp": stamp}
html = _TEMPLATE.replace("/*__DATA__*/", json.dumps(data))
b64 = base64.b64encode(html.encode("utf-8")).decode("ascii")
return (
f''
)