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

FeaturePanel: New icon for the direction tag #600

Merged
merged 3 commits into from
Oct 2, 2024

Conversation

Dlurak
Copy link
Collaborator

@Dlurak Dlurak commented Sep 28, 2024

Description

Change to a icon with some rays around a circle in the middle for the direction tag rendering.

Examples

@Dlurak Dlurak requested a review from zbycz September 28, 2024 13:43
Copy link

vercel bot commented Sep 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
osmapp ✅ Ready (Inspect) Visit Preview Oct 2, 2024 7:29pm

@Dlurak
Copy link
Collaborator Author

Dlurak commented Oct 2, 2024

I will later change it back to an arrow for single directions

zbycz
zbycz previously approved these changes Oct 2, 2024
}}
>
<AnimatedArrow start={start} end={end ?? start} />
<DirectionIndicator start={start} end={end} />
Copy link
Owner

@zbycz zbycz Oct 2, 2024

Choose a reason for hiding this comment

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

Could you perhaps make the line the same height as the other? Maybe make the indicator little smaller, and possibly with negative margins to overflow a little? (edit not sure how it will look :) )

image

Maybe centering the "Directions" label would be ok for start.

@Dlurak Dlurak enabled auto-merge (squash) October 2, 2024 19:25
@Dlurak Dlurak merged commit 3bbf7a9 into zbycz:master Oct 2, 2024
2 checks passed
@zbycz
Copy link
Owner

zbycz commented Oct 7, 2024

Great!

One idea - what about adding a degrees sign after the numeric values? I think eg 0-360° would look better that just 0-360. And this way we are not removing any information from the underlying OSM data.

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.

2 participants