From 1277dccfd841c1f425fe56e24e6e06b7178728e3 Mon Sep 17 00:00:00 2001 From: Qiusheng Wu Date: Sun, 19 Jan 2025 21:03:29 -0500 Subject: [PATCH] Fix localtileserver colormap issue --- leafmap/common.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/leafmap/common.py b/leafmap/common.py index 11ef636459..054dce9d91 100644 --- a/leafmap/common.py +++ b/leafmap/common.py @@ -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: