Center the map

merge-requests/30/head
Bob Mottram 2022-05-21 13:34:20 +01:00
parent ac2e45f034
commit c80d5f25be
1 changed files with 3 additions and 1 deletions

View File

@ -2163,6 +2163,8 @@ def individual_post_as_html(signing_priv_key_pem: str,
html_open_street_map(location_str,
bounding_box_degrees,
translate)
if map_str:
map_str = '<center>\n' + map_str + '</center>\n'
if is_muted:
content_str = ''