-
Notifications
You must be signed in to change notification settings - Fork 202
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
Base map legends #2647
base: next
Are you sure you want to change the base?
Base map legends #2647
Conversation
🦋 Changeset detectedLatest commit: bce3372 The changes in this PR will be included in the next version bump. This PR includes changesets to release 6 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
✅ Deploy Preview for evidence-test-env ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for next-docs-evidence ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for evidence-development-workspace ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
i noticed the init function was running multiple times, (3 -2) Current solution: Move init() to onMount, seems to also speed up map rendering just uncertain about other consequences, but looks good now Update: Solved with 2nd await init() then block, as well as legend data duplicate update handling for dev mode |
Looking into default legend rendering for maps |
IssueLooking into legends as default, but legends depend on Value prop which is not required for maps. I think a nice solution is the legend comes with the Value prop, and users can control showing the legend with a noLegend prop SolutionLegend w/ Default No legend |
Just spoke with @hughess, would we be able to get rid of the text, and add a icon to represent the map with a label for screen readers? |
Update
Screen.Recording.2024-10-15.112545.mp4Summary Other fixes:
|
Description
Map Legends
(Video Recording not properly catching show legend transition)
Screen.Recording.2024-10-10.191938.mp4
Screen.Recording.2024-10-10.193343.mp4
Value
prop to create legendChecklist