-
-
Notifications
You must be signed in to change notification settings - Fork 5
Added labels for addresses #73
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
Open
CharliePlett
wants to merge
2
commits into
OpenHistoricalMap:staging
Choose a base branch
from
CharliePlett:addresses
base: staging
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+70
−1
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the building has a house number but lacks a name, this newline shifts the house number down by a full line. The user would perceive a label at a different location, possibly on a different building.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I was kind of thinking the same. Would you suggest keeping the number the same size as the name? Because I also feel like the label gets very tall when it's a longer name and wraps on 2 lines and then also the address on a third line. And then your translation text in the future.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I just realized what you actually commented. Yeah, I can fix that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the subtitle text in #73 (comment) is less confusing than OpenHistoricalMap/issues#1353 (comment), particularly because a four-digit number in parentheses could easily be mistaken for a year.
If the house number makes the label too tall, I suppose we could nix the house number when there’s already a name. OSM Carto does that under the assumption that a named building is already sufficiently identifiable. Alternatively, we could shrink the building labels to match the POI labels. If so, I’d shrink the house numbers further still or italicize them to keep them distinct from the building names.
The translation replaces the main text. The gloss we’re considering in OpenHistoricalMap/issues#799 would get appended to labels in some layers, particularly places, but not necessarily for something like buildings, since it could get pretty repetitive.