Open anitagraser opened 1 year ago
Hi, yes, it would make sense to expose a timeout keyword anywhere where we query some online resource.
I think that this could be a right place https://github.com/geopandas/contextily/blob/main/contextily/tile.py#L374 (but there may be more).
Contributions are welcome :).
I recently discovered that in some setups (for me specifically: WSL in my company VPN),
add_basemap
gets stuck forever. It seems to fail to load the tiles and there is no way to specify a timeout.This is my current workaround but it would be much more convenient to just be able to specify
timeout=5
inadd_basemap
: