lonboard icon indicating copy to clipboard operation
lonboard copied to clipboard

Linked maps side by side

Open leonard-psu opened this issue 1 year ago • 1 comments

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.

leonard-psu avatar Dec 15 '24 19:12 leonard-psu

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

kylebarron avatar Dec 17 '24 17:12 kylebarron