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

Polygon labeling highly non-systematic and confusing in styling and use of label offsets #4620

Open
imagico opened this issue Jul 24, 2022 · 2 comments

Comments

@imagico
Copy link
Collaborator

imagico commented Jul 24, 2022

When testing #4593 i noticed that labeling of the features using that polygon fill color is a mess. here is z15, z16 and z17 for the very light green features:

z15
z16
z17

Note this problem is not limited to the features shown, it is also present with others. Also note the outlining is different in a non-intuitive way as well.

Related to #234.

A thorough solution of this would probably be related to #3880.

@map-per
Copy link
Contributor

map-per commented Apr 7, 2023

Moving the text form the duplicate issue #4802:

Actual behavior

swimming facilities (leisure=water_park, leisure=sports_centre + sport=swimming and leisure=swimming_area) are displayed with an icon until zoom 17. For zoom 16-14 no icon is used but the label still has an offset (text-dy) of 11 which looks weird.

Expected behavior

I would either display the icon together with the label (similar to how it is done for golf_course) or display the label without an offset. I think showing the label is better as this avoids confusion with similar looking leisure=parks.

Code

master...map-per:openstreetmap-carto:water_park

Screenshots with links illustrating the problem

(https://www.openstreetmap.org/way/174549769)

  • icon
    icon15
    icon16

  • no icon, without offset
    no-icon15
    no-icon16

@map-per
Copy link
Contributor

map-per commented Apr 28, 2023

Are you interested in a pull request / implementation for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants