Skip to content

Commit

Permalink
Fix basemap layer id bug
Browse files Browse the repository at this point in the history
  • Loading branch information
giswqs authored Jun 13, 2024
1 parent ee2bdb1 commit 8dd0718
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/ipyleaflet/ipyleaflet/leaflet.py
Original file line number Diff line number Diff line change
Expand Up @@ -2805,6 +2805,7 @@ def _default_layers(self):
)

basemap.base = True
self._layer_ids.append(basemap.model_id)

return (basemap,)

Expand Down

0 comments on commit 8dd0718

Please sign in to comment.