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

Legend 3: Add legend to map #2444

Merged
merged 10 commits into from
Jun 18, 2024

Conversation

yvonnesjy
Copy link
Collaborator

No description provided.

@yvonnesjy yvonnesjy linked an issue Jun 13, 2024 that may be closed by this pull request
Copy link
Member

@robyngit robyngit left a comment

Choose a reason for hiding this comment

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

This legend is going to be great! 🎉🎉🎉

A couple minor aesthetic issues I noticed:

On maps without the light theme, e.g. in the catalog, the panels element is weirdly translucent or has a darker text color:
Screenshot 2024-06-17 at 4 26 28 PM

Could we bump the positioning of the legend up on portal maps on smaller screens? See:

Screenshot 2024-06-17 at 4 25 35 PM

src/js/views/maps/MapWidgetContainerView.js Outdated Show resolved Hide resolved
src/css/map-view.css Show resolved Hide resolved
src/css/map-view.css Outdated Show resolved Hide resolved
yvonnesjy and others added 10 commits June 17, 2024 14:47
Co-authored-by: Robyn <26600641+robyngit@users.noreply.github.com>
Co-authored-by: Robyn <26600641+robyngit@users.noreply.github.com>
These scoped type names are used inconsistently throughout the code base and violate lint rules. I will not attempt a fix in this PR, and hold off until we have an agreed upon approach.
@yvonnesjy yvonnesjy force-pushed the feature-1784-add-legend-to-map branch from 84fe9f8 to a990776 Compare June 17, 2024 22:57
@yvonnesjy
Copy link
Collaborator Author

in the catalog, the panels element is weirdly translucent or has a darker text color
Fixed

Could we bump the positioning of the legend up on portal maps on smaller screens?
Done... only if you promise me this code will be cleaned up when layout comes around👀

@yvonnesjy yvonnesjy requested a review from robyngit June 17, 2024 23:22
Copy link
Member

@robyngit robyngit left a comment

Choose a reason for hiding this comment

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

🚀🚀🚀

@robyngit robyngit merged commit bf6357e into NCEAS:develop Jun 18, 2024
1 check failed
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.

Show a legend for data layers that require one in the Cesium View
3 participants