fetch_companion_wms_layers

Maps.fetch_companion_wms_layers(refetch=True)

Fetch (and cache) WebMap layer names for the companion-widget.

The cached layers are stored at the following location:

>>> from eomaps import _data_dir
>>> print(_data_dir)
Parameters:

refetch (bool, optional) – If True, the layers will be re-fetched and the cache will be updated. If False, the cached dict is loaded and returned. The default is True.