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

feat(StopLayerGenerator): Preserve selected stop label across zoom levels #708

Merged
merged 4 commits into from
Feb 10, 2025

Conversation

KaylaBrady
Copy link
Collaborator

Summary

Ticket:  | respond to Combined Stop + Trip QA feedback

What is this PR for?

Small follow-up to #707 so that the selected stop label is shown at all zoom levels where stops are shown.

iOS

  • If you added any user-facing strings on iOS, are they included in Localizable.xcstrings?
    • Add temporary machine translations, marked "Needs Review"

android

  • All user-facing strings added to strings resource in alphabetical order
  • Expensive calculations are run in withContext(Dispatchers.Default) where possible

Testing

What testing have you done?

  • Ran locally & confirmed selected stop label shows when zoomed out
    Screenshot_20250204_165401

@KaylaBrady KaylaBrady requested a review from a team as a code owner February 4, 2025 21:55
stopSelectedPinLayer.textJustify = TextJustify.AUTO
stopSelectedPinLayer.textAllowOverlap = true
stopSelectedPinLayer.textOptional = true
stopSelectedPinLayer.textOffset = MapExp.labelOffsetExp
Copy link
Member

Choose a reason for hiding this comment

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

Should this be a call to includeDefaultTextProps?

@KaylaBrady KaylaBrady force-pushed the kb-selected-stop-label branch from 528009d to d08b2b7 Compare February 6, 2025 22:10
@KaylaBrady KaylaBrady merged commit 11c8c75 into main Feb 10, 2025
7 checks passed
@KaylaBrady KaylaBrady deleted the kb-selected-stop-label branch February 10, 2025 19:58
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.

3 participants