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

Linked maps side by side #718

Open
leonard-psu opened this issue Dec 15, 2024 · 1 comment
Open

Linked maps side by side #718

leonard-psu opened this issue Dec 15, 2024 · 1 comment

Comments

@leonard-psu
Copy link

Is your feature request related to a problem? Please describe.
Using side by side maps that are in sync. Map #1 uses a small geoparquet file, the other Map #2 uses a very large geoparquet file. When the user interacts with Map #1 I want to use the map bounding-box/view-extent to query the data to update Map #2.

Describe the solution you'd like
Public function to get the bounding box of the Map. i.e. map.getBounds()
Event state change to Map's bounding box.

Describe alternatives you've considered
Tested access to compute_view (private fn, i.e. wont work) to access bbox from pydeck.ViewPort.

Additional context
Add any other context or screenshots about the feature request here.

Hoping to be pointed in the right direction for a friendly way to get bbox.

@kylebarron
Copy link
Member

There's an example in the docs for linked maps: https://developmentseed.org/lonboard/latest/examples/linked-maps/

@kylebarron kylebarron changed the title BBOX for Map Linked maps side by side Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants