Skip to content

Improved the way to filter by extent#86

Merged
neo-garaix merged 1 commit into3liz:masterfrom
neo-garaix:fix-extent-filter-calculation
May 27, 2025
Merged

Improved the way to filter by extent#86
neo-garaix merged 1 commit into3liz:masterfrom
neo-garaix:fix-extent-filter-calculation

Conversation

@neo-garaix
Copy link
Copy Markdown
Collaborator

  • Better way to filter by extent by using a extend of every extent instead of using only one extent from all layers from a project.

Before

When a project load multiple layers, each ones has their specific bbox.

page1 drawio

We set the Extent filter on and we try to navigate on the project. If we hover the place where, at least, one layer should be, the LayerStore will still be filled of the project.

page2 drawio

But, once we hover another layer than the first one located in the project, the project disappears from the LayerStore.

page3 drawio

In fact, once the Extent filter is set on, it uses the bbox from the first layer that appears in the project.

Now

Now, once a project is loaded, mapBuilder calculate a "project bbox" that will be associated with its project.

page4 drawio

Thanks to this change, LayerStore can still be filled with the project no matter which layer we are hovering.

page5 drawio

@neo-garaix neo-garaix merged commit 75782cb into 3liz:master May 27, 2025
5 checks passed
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

Successfully merging this pull request may close these issues.

1 participant