From f8f56add979a9bea2e574446cad75befb7a145af Mon Sep 17 00:00:00 2001 From: Romain J Date: Sun, 16 May 2021 15:46:52 +0200 Subject: [PATCH] fix(commands:iplocalise|Network): possible fix for timeout on map? --- tuxbot/cogs/Network/functions/utils.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tuxbot/cogs/Network/functions/utils.py b/tuxbot/cogs/Network/functions/utils.py index 455fc4d..f2a60ca 100644 --- a/tuxbot/cogs/Network/functions/utils.py +++ b/tuxbot/cogs/Network/functions/utils.py @@ -206,12 +206,11 @@ async def get_map_bytes(apikey: str, latlon: str) -> Optional[io.BytesIO]: url = ( "https://maps.geoapify.com/v1/staticmap" "?style=osm-carto" - "&width=400" - "&height=300" + "&width=333" + "&height=250" "¢er=lonlat:{lonlat}" "&zoom=12" "&marker=lonlat:{lonlat};color:%23ff0000;size:small" - "&pitch=42" "&apiKey={apikey}" )