Skip to content

Commit 8c9b573

Browse files
committed
Default overlay=True for WMS
1 parent cd88ea3 commit 8c9b573

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

folium/features.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
class WmsTileLayer(TileLayer):
1919
def __init__(self, url, name=None,
2020
format=None, layers=None, transparent=True,
21-
attribution=None):
21+
attribution=None, overlay=True):
2222
"""
2323
TODO docstring here
2424
@@ -29,6 +29,7 @@ def __init__(self, url, name=None,
2929
self.url = url
3030
self.format = format
3131
self.layers = layers
32+
self.overlay = overlay
3233
self.transparent = transparent
3334
# if attribution is None:
3435
# raise ValueError('WMS must'

0 commit comments

Comments
 (0)