From 1257b3ee175ce03084f7edad2dc2f1f79f31afb8 Mon Sep 17 00:00:00 2001 From: Raphael Date: Tue, 14 Mar 2023 19:51:09 +0100 Subject: [PATCH] add more docstrings for new webmaps --- eomaps/_webmap_containers.py | 44 ++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/eomaps/_webmap_containers.py b/eomaps/_webmap_containers.py index 72f8a9d88..85553a229 100644 --- a/eomaps/_webmap_containers.py +++ b/eomaps/_webmap_containers.py @@ -714,10 +714,25 @@ def __init__(self, m): self.stamen_watercolor.__doc__ = stamen_watercolor_doc class _OSM_waymarkedtrails: + """ + OSM layers from WaymarkedTrails. + + Note + ---- + **LICENSE-info (withowayut any warranty for correctness!!)** + + check: + + - https://waymarkedtrails.org + - https://hiking.waymarkedtrails.org/#help-legal + + """ + def __init__(self, m): self._m = m self.add_layer = self._add_layer(m) + self.layers = list(self.add_layer.__dict__) class _add_layer: def __init__(self, m): @@ -756,10 +771,24 @@ def __init__(self, m): ) class _OSM_openrailwaymap: + """ + OSM layers from OpenRailwayMap. + + Note + ---- + **LICENSE-info (withowayut any warranty for correctness!!)** + + check: + + - https://wiki.openstreetmap.org/wiki/OpenRailwayMap/API + + """ + def __init__(self, m): self._m = m self.add_layer = self._add_layer(m) + self.layers = list(self.add_layer.__dict__) class _add_layer: def __init__(self, m): @@ -797,10 +826,25 @@ def __init__(self, m): ) class _OSM_cartodb: + """ + OSM basemap styles hosted by CartoDB. + + Note + ---- + **LICENSE-info (without any warranty for correctness!!)** + + check: + + - https://github.com/CartoDB/basemap-styles + - https://carto.com + + """ + def __init__(self, m): self._m = m self.add_layer = self._add_layer(m) + self.layers = list(self.add_layer.__dict__) class _add_layer: def __init__(self, m):