Skip to content

Commit

Permalink
add more docstrings for new webmaps
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelquast committed Mar 14, 2023
1 parent c7dedad commit 1257b3e
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions eomaps/_webmap_containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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):
Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit 1257b3e

Please sign in to comment.