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

Allow adding queried features in turn using the "previous" and "next" bypass block buttons #282

Closed
ahmadayubi opened this issue Feb 5, 2021 · 0 comments · Fixed by #285

Comments

@ahmadayubi
Copy link
Member

When a query is made it returns mapml features, there can be multiple features. @prushforth suggested that it should be possible to add one of those features at a time by using the "previous" and "next" bypass block buttons.

Behavior example:
If a query returns 4 features, only the first feature is added to the map.
To view the other 3 features, the user needs to click next, this removes the current feature and adds the next one.
Only 1/n features (n being all the features returned) from the query would be visible/on the map at a time.
Only the <properties> content of the current feature i of n (where i is the current feature iteration, n being all features returned) would be the content of the popup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant