Skip to content

vis_params not used in the layer settings dialog #2814

Description

@angusmcb

Environment Information

Tue Jun 23 20:52:44 2026 UTC
OS Darwin (macOS 15.7.3) CPU(s) 10 Machine arm64
Architecture 64bit RAM 16.0 GiB Environment Jupyter
File system apfs
Python 3.12.12 | packaged by conda-forge | (main, Oct 22 2025, 23:34:53) [Clang 19.1.7 ]
geemap 0.38.1 ee 1.7.30 ipyleaflet 0.20.0
folium 0.20.0 jupyterlab 4.5.8 notebook Module not found
ipyevents 2.0.4 geopandas 1.1.3

Description

When using add_layer with some vis_params set, they are not reflected in the settings/visualisation dialog box of each layer.

Running the example from https://geemap.org/notebooks/53_layer_vis/ gives the following dialog. As you can see all the bands in the dialog are 'B1', and the range is incorrect. The same problems happen for single band layers, where the palette is not displayed (the SRTM DEM layer can be used for this). Despite this, the layers are dispalying correctly within the map view.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions