feat[map]: add reset button for map state modifications#695
Open
suvanbanerjee wants to merge 3 commits intodevelopmentfrom
Open
feat[map]: add reset button for map state modifications#695suvanbanerjee wants to merge 3 commits intodevelopmentfrom
suvanbanerjee wants to merge 3 commits intodevelopmentfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
suvanbanerjee
commented
Mar 27, 2026
braddf
requested changes
Mar 29, 2026
Contributor
braddf
left a comment
There was a problem hiding this comment.
Couple of comments, otherwise looks good!
suvanbanerjee
commented
Mar 30, 2026
Comment on lines
+392
to
+400
| return `<svg fill="#000000" viewBox="0 0 1920 1920" xmlns="http://www.w3.org/2000/svg"> | ||
| <g id="SVGRepo_bgCarrier" stroke-width="0"></g> | ||
| <g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g> | ||
| <g id="SVGRepo_iconCarrier"> | ||
| <path d="M960 0v213.333c411.627 0 746.667 334.934 746.667 746.667S1371.627 1706.667 960 1706.667 213.333 1371.733 213.333 960c0-197.013 78.4-382.507 213.334-520.747v254.08H640V106.667H53.333V320h191.04C88.64 494.08 0 720.96 0 960c0 529.28 430.613 960 960 960s960-430.72 960-960S1489.387 0 960 0" fill-rule="evenodd"> | ||
| </path> | ||
| </g> | ||
| </svg>`; | ||
| }; |
Contributor
Author
There was a problem hiding this comment.
@braddf It is a string because we have to use it in html format, not sure if i should put it here or directly put it in
https://github.com/openclimatefix/quartz-frontend/pull/695/changes#diff-7251d9455f72e8fb43a93e7db2375b1429df6904295216039ede6b9da8fa5fe2R134
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request
Description
Reset button added on top of the zoom controls on bottom right of map
this will only appear if maps is not in default state
Fixes #183
Checklist: