Panning with a split map not possible
Timmarh opened this issue · 2 comments
Timmarh commented
Environment Information
Description
I'm trying to create a split map. After creating it I would like to pan the map.
What I Did
Map = geemap.Map()
roi = ee.Geometry.Polygon(
[[[-113.7614013671875, 40.54917381877071],
[-113.7614013671875, 40.461463065241],
[-113.6295654296875, 40.461463065241],
[-113.6295654296875, 40.54917381877071]]])
l8 = ee.ImageCollection("LANDSAT/LC08/C02/T1_TOA") \
.filterBounds(roi) \
.first() \
.clip(roi)
layer = geemap.ee_tile_layer(l8, {}, 'test')
Map = geemap.Map()
Map.split_map(layer, layer)
Map.centerObject(roi);
Map
The map looks fine and zooming works fine. However panning the map does not work. Panning does work fine without the split map.
giswqs commented
This is a known issue of the ipyleaflet package for a while now. It has been fixed recently but ipyleaflet has not released a new version yet. We just need to wait.
jupyter-widgets/ipyleaflet#1066
jupyter-widgets/ipyleaflet#1135
Timmarh commented
Thanks!