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

Use AdvancedMarkerElements and add index to markers on map #2109

Merged
merged 6 commits into from
Dec 11, 2024

Conversation

amysorto
Copy link
Contributor

Part of #1477. Adds annotations for submission markers (but not polygons). @gino-m As far as I know we don't have polygons yet in our submissions. Should this PR close this issue instead and we file a separate issues for polygons?

I also filed #2108 to use custom HTML and CSS for the markers. When I initially tried the styles were not being correctly applied so I figured I can take a look into that separately so we can have better map annotiations in the meanwhile.

Screenshot:
Screenshot 2024-11-27 at 10 37 28 AM 1

Also I changed the index in the submission panel to start at 1 instead of 0. I thought there was a filed issue for this but I couldn't find it to link it here.

@amysorto amysorto added the web Angular implementation of Web UI label Nov 27, 2024
@amysorto amysorto requested a review from gino-m November 27, 2024 15:45
Copy link
Collaborator

@gino-m gino-m left a comment

Choose a reason for hiding this comment

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

Thanks, @amysorto! Lgtm, one small code health tax if you have time.

@rfontanarosa for final approval.

lois
.filter(loi =>
this.showPredefinedLoisOnly ? loi.predefined : true
]).subscribe(
Copy link
Collaborator

Choose a reason for hiding this comment

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

This method is becoming unwieldy. While you're here any chance you could refactor it a bit, perhaps pulling out meaningful logic into helper functions?

@gino-m gino-m requested a review from rfontanarosa November 27, 2024 16:04
@amysorto amysorto requested a review from gino-m November 27, 2024 19:12
@gino-m
Copy link
Collaborator

gino-m commented Dec 10, 2024

@amysorto Please ping when RFAL!

@amysorto
Copy link
Contributor Author

@gino-m This PR is ready for review!

Copy link
Collaborator

@gino-m gino-m left a comment

Choose a reason for hiding this comment

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

🥳

@rfontanarosa rfontanarosa merged commit 093c337 into google:master Dec 11, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
web Angular implementation of Web UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants