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

Prevent zoom-to-results from going too far #355

Merged

Conversation

theduckylittle
Copy link
Member

@theduckylittle theduckylittle commented Feb 5, 2019

This can be a particular problem when returning a single
point (as in from a search) and zooming to the results will
take the user to a view which is not useful. Adding a minimum
bounding box size prevents that from happening.

This can be a praticular problem when returning a single
point (as in from a search) and zooming to the results will
take the user to a view which is not useful.  Adding a minimum
bounding box size prevents that from happening.
@klassenjs
Copy link
Member

Can a user change the default? Per layer?

@theduckylittle
Copy link
Member Author

Can we do that in a follow up? I feel as if we need to add a "config" reducer that allows changing these defaults better but there aren't a lot of 'feed points' to that part of the code.

@klassenjs
Copy link
Member

I was looking at the code and wondering if there was a path in. I suppose we can make that a separate issue... based on geomoose-users, I expect configuring it will come up quickly.

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.

None yet

2 participants