From 1126449dbf8fdd3fadfbb0c88e58717b8664007d Mon Sep 17 00:00:00 2001 From: Qiusheng Wu Date: Fri, 14 Jun 2024 02:38:16 -0400 Subject: [PATCH] Fix basemap layer id bug (#1208) --- python/ipyleaflet/ipyleaflet/leaflet.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/ipyleaflet/ipyleaflet/leaflet.py b/python/ipyleaflet/ipyleaflet/leaflet.py index 52a3be7e..d1165b78 100644 --- a/python/ipyleaflet/ipyleaflet/leaflet.py +++ b/python/ipyleaflet/ipyleaflet/leaflet.py @@ -2805,6 +2805,7 @@ def _default_layers(self): ) basemap.base = True + self._layer_ids.append(basemap.model_id) return (basemap,)