Skip to content

Commit

Permalink
Fix localtileserver colormap issue
Browse files Browse the repository at this point in the history
  • Loading branch information
giswqs committed Jan 20, 2025
1 parent 2e3de21 commit 1277dcc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions leafmap/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -2962,6 +2962,9 @@ def get_local_tile_layer(
if isinstance(nodata, str):
nodata = float(nodata)

if isinstance(colormap, str):
colormap = colormap.lower()

if quiet:
output = widgets.Output()
with output:
Expand Down

0 comments on commit 1277dcc

Please sign in to comment.