18
18
class WmsTileLayer (TileLayer ):
19
19
def __init__ (self , url , name = None ,
20
20
format = None , layers = None , transparent = True ,
21
- attr = None ):
21
+ attr = None , overlay = True ):
22
22
"""
23
23
TODO docstring here
24
24
@@ -29,6 +29,7 @@ def __init__(self, url, name=None,
29
29
self .url = url
30
30
self .format = format
31
31
self .layers = layers
32
+ self .overlay = overlay
32
33
self .transparent = transparent
33
34
self .attr = attr
34
35
@@ -616,7 +617,7 @@ def __init__(self, locations, color=None, weight=None,
616
617
617
618
618
619
class ImageOverlay (MacroElement ):
619
- def __init__ (self , image , bounds , opacity = 1. , attr = None ,
620
+ def __init__ (self , image , bounds , opacity = 1. , attribution = None ,
620
621
origin = 'upper' , colormap = None , mercator_project = False ):
621
622
"""
622
623
Used to load and display a single image over specific bounds of
@@ -661,7 +662,7 @@ def __init__(self, image, bounds, opacity=1., attr=None,
661
662
self .bounds = json .loads (json .dumps (bounds ))
662
663
options = {
663
664
'opacity' : opacity ,
664
- 'attribution' : attr ,
665
+ 'attribution' : attribution ,
665
666
}
666
667
self .options = json .dumps ({key : val for key , val
667
668
in options .items () if val },
0 commit comments