Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panning with a split map not possible #1746

Closed
Timmarh opened this issue Oct 2, 2023 · 2 comments
Closed

Panning with a split map not possible #1746

Timmarh opened this issue Oct 2, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@Timmarh
Copy link

Timmarh commented Oct 2, 2023

Environment Information

afbeelding

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.

@Timmarh Timmarh added the bug Something isn't working label Oct 2, 2023
@giswqs
Copy link
Member

giswqs commented Oct 2, 2023

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

@giswqs giswqs closed this as completed Oct 2, 2023
@Timmarh
Copy link
Author

Timmarh commented Oct 2, 2023

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants