Skip to content

Conversation

@PhilippeLafreniere18
Copy link
Contributor

…is exceeded

Please check if the PR fulfills these requirements

What is the current behavior? (You can also link to an open issue here)
When query features exceed the feature count, nothing is triggered to the user
Default feature count is set to 5

What is the new behavior?
When query features exceed the feature count, an info message is displayed
Default feature count is set to 20

Does this PR introduce a breaking change? (check one with "x")

  • Yes
  • No

If this PR contains a breaking change, please describe the impact and migration path for existing applications:

Other information:

@PhilippeLafreniere18 PhilippeLafreniere18 changed the title refactor(query): redefine fetaure count and pop a message when limit … refactor(query): redefine feature count and pop a message when limit … May 18, 2022
Copy link
Member

@pelord pelord left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I propose to change the message to something like that..
You have queried this layer. It's possible to have some remaining feature on the map. Zoom on map to ensure to have access to all features... Something like that (and better i hope)

Copy link
Member

@pelord pelord left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved if the message is changed.

Copy link
Member

@pelord pelord left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some issues to fix

@PhilippeLafreniere18
Copy link
Contributor Author

@pelord ready to be tested again

@pelord
Copy link
Member

pelord commented Jun 6, 2022

@PhilippeLafreniere18 how handle multiple layers.. a this moment, only the first layer show the message.

@pelord pelord merged commit a996601 into next Jun 8, 2022
@pelord pelord deleted the featureCount branch June 8, 2022 18:04
cbourget pushed a commit that referenced this pull request Mar 21, 2023
#1055)

* refactor(query): redefine fetaure count and pop a message when limit is exceeded

* fix(query): fix custom feature count with multiple layers / test ngx translate

* lint

* fix(query): remove feature count message with another query

* lint
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.

3 participants