-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
Small bounding boxes are hard to understand #2198
Comments
Thanks for the suggestion, @vchendrix and I'll One thing to think about is how to handle multiple, small bounding boxes that are closely arranged. Some researchers submit detailed, small bounding boxes for their sampling units (e.g., 5 sq m plots), and they want them to show up in context of one another. Such small features can't be differentiated on a larger map, and the main purpose of the current view is to allow reasearchers to validate the details of the provided bounding box. One suggestion we have discussed is to combine all of the bounding boxes into a single interactive map for the dataset, and show them at a higher zoom level, but allow people to zoom in to see the specifics of any of the fine-scale boxes. I think that could be a good solution and would likely be quite feasible with current interactive map libraries. |
@vchendrix, thanks for the detailed, proposed fix! I think we can implement this fix quickly. @mbjones's idea of a combined interactive map is a promising idea for a longer-term solution. This idea is discussed in detail in issue #925. |
Calculate zoom level based on bounding box and window size. Issue #2198
@vchendrix - I just finished working on this issue and want to share some observations:
Before (@vchendrix example above) |
Dataset map bug: if bounding box is really small then give bigger sized map for reference, when opens bigger map include pin
Proposed Solution
around the center lat/lon.
Change this code
metacatui/src/js/views/MetadataView.js
Lines 1039 to 1042 in ee44f2f
to
Examples of a small bounding
from https://arcticdata.io/catalog/view/doi%3A10.18739%2FA29P2W73Z
Example of large map with no pin
The is the result from clicking the map above
The text was updated successfully, but these errors were encountered: