jupyter-widgets / ipyleaflet

A Jupyter - Leaflet.js bridge
https://ipyleaflet.readthedocs.io
MIT License
1.47k stars 359 forks source link

add color bar #1184

Open Mojganz opened 3 months ago

Mojganz commented 3 months ago

I want to add a color bar for this code lake_image = sentinel2.median()

vis = { 'bands': ['B4', 'B3', 'B2'], 'min': 0, 'max': 900 } Map = geemap.Map()

Map.centerObject(lake_7, 16)

Map.addLayer(lake_image, vis, 's2')

Display the map.

Map

I take a sentinel 2 image over a specific lake and map it. But I have a problem with showing color bar for my map this is map of lake

Screenshot 2024-03-27 144330
giswqs commented 3 months ago

This is a geemap question. Post it at https://github.com/gee-community/geemap/discussions