90 pixel inspector does not work as expected
bug
<!-- Please search existing issues to avoid creating duplicates. -->
### Environment Information
- leafmap version: 0.57.9
- Python version: 3.13.7
- Operating System: MacOS
### Description
I am using leaf map to display geotiff rasters. Then I want to use the pixel inspector to display the pixel values. However, the values do not change for every pixel, although I know that they are different. Also coordinates sparsely are updated when clicked on a nearby pixel. Only clicking far enough on another pixel will update the pixel value.
### What I Did
```
m = leafmap.Map(center=(52.0628, 6.3915), zoom=16, height='1000px', width='1000px',
draw_control=False,
measure_control=False,
fullscreen_control=True,
attribution_control=True,
)
m.add_raster(mymap, layer_name='test', colormap="RdBu", vmin=0, vmax=max, nodata=np.nan, indexes=[1])
m.add('inspector')
```
关闭于 2025-12-06 3 条评论