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

Rendering of foreground2 #4

Open
zstadler opened this issue Nov 17, 2021 · 0 comments
Open

Rendering of foreground2 #4

zstadler opened this issue Nov 17, 2021 · 0 comments

Comments

@zstadler
Copy link

Several hiking trails in Israel, including the Israel National Trail, use 3-stripe marks, such as this:

Following an advice from Nop, the osmc:symbol tag for the above symbol is green:green:white_right:blue_stripe where

  • green is the trail line colour
  • green is the background colour
  • white_right is the foreground colour
  • blue_stripe if the foreground2 colour

It looks like the foreground2 colour is used by the code

# secondary stripe fill
if self.fgsecondary is not None:
ctx.set_source_rgb(*self.config.osmc_colors[self.fgsecondary])
ctx.set_line_width(0.3)
self.paint_fg_right(ctx)

but neither the map nor the trail's information pane show the center blue stripe for the trail.

image

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