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

Line text can be upside down with text-allow-overlap #35

Open
farfromrefug opened this issue Nov 16, 2022 · 0 comments
Open

Line text can be upside down with text-allow-overlap #35

farfromrefug opened this issue Nov 16, 2022 · 0 comments

Comments

@farfromrefug
Copy link
Contributor

if you have something like this in your css

[class='waypointline'] {
			line-color: #00000077;
			line-join: round;
			line-cap: round;
			line-width: 3;
			text-name: [text];
			text-placement: line;
			text-wrap-before: true;
			text-face-name: @mont;
			text-size: 10;
			text-allow-overlap: true;
			text-halo-fill: @route_label_halo;
			text-halo-radius: @route_label_halo_radius;
			text-dy: @route_text_dy;
		}

depending on the line "order" the text is upside down. If you set text-allow-overlap: false; the text will always be drawn correctly

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

No branches or pull requests

1 participant