From c80d5f25be45bbf04f6faba063fd6c3c16473566 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 21 May 2022 13:34:20 +0100 Subject: [PATCH] Center the map --- webapp_post.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webapp_post.py b/webapp_post.py index 1415a8894..34ee0f6d7 100644 --- a/webapp_post.py +++ b/webapp_post.py @@ -2159,10 +2159,12 @@ def individual_post_as_html(signing_priv_key_pem: str, if location_str: if '://' in location_str and '.' in location_str: bounding_box_degrees = 0.001 - map_str = \ + map_str = \ html_open_street_map(location_str, bounding_box_degrees, translate) + if map_str: + map_str = '
\n' + map_str + '
\n' if is_muted: content_str = ''