Skip to content

Commit

Permalink
Fix basemap visibility bug (#622)
Browse files Browse the repository at this point in the history
  • Loading branch information
giswqs authored Nov 29, 2023
1 parent a2546e8 commit 1770dee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion leafmap/foliumap.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ def add_basemap(

try:
if basemap in ["ROADMAP", "SATELLITE", "HYBRID", "TERRAIN"]:
layer = get_google_map(basemap, backend="folium", **kwargs)
layer = get_google_map(basemap, backend="folium", show=show, **kwargs)
layer.add_to(self)
return

Expand Down

0 comments on commit 1770dee

Please sign in to comment.