fix(commands:iplocalise|Network): possible fix for timeout on map?
This commit is contained in:
parent
06bcae81fe
commit
f8f56add97
1 changed files with 2 additions and 3 deletions
|
@ -206,12 +206,11 @@ async def get_map_bytes(apikey: str, latlon: str) -> Optional[io.BytesIO]:
|
||||||
url = (
|
url = (
|
||||||
"https://maps.geoapify.com/v1/staticmap"
|
"https://maps.geoapify.com/v1/staticmap"
|
||||||
"?style=osm-carto"
|
"?style=osm-carto"
|
||||||
"&width=400"
|
"&width=333"
|
||||||
"&height=300"
|
"&height=250"
|
||||||
"¢er=lonlat:{lonlat}"
|
"¢er=lonlat:{lonlat}"
|
||||||
"&zoom=12"
|
"&zoom=12"
|
||||||
"&marker=lonlat:{lonlat};color:%23ff0000;size:small"
|
"&marker=lonlat:{lonlat};color:%23ff0000;size:small"
|
||||||
"&pitch=42"
|
|
||||||
"&apiKey={apikey}"
|
"&apiKey={apikey}"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue