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

Provide way to center map on visible points #28

Open
saylorsd opened this issue Jul 28, 2020 · 0 comments
Open

Provide way to center map on visible points #28

saylorsd opened this issue Jul 28, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@saylorsd
Copy link
Member

Currently when a visitor searches, the points the map are filtered on that search. This often leads to the current map view becoming completely empty.

I suggest we provide a button to center the map on the visible points. And maybe have a toggle that, when on, will signal the map to recenter on the visible points as the user searches.

Since we're getting paginated results, we'll might have to use the bounding box of the current page which likely is far from random, especially geographically-speaking.

I'll look into whether we can return the bounding box for all valid assets on a search while only providing the details for the few in the list.

@saylorsd saylorsd added the enhancement New feature or request label Jul 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant