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

Lines with SVG pattern are draw as black lines #985

Closed
Klaus-Tockloth opened this issue Nov 26, 2022 · 3 comments
Closed

Lines with SVG pattern are draw as black lines #985

Klaus-Tockloth opened this issue Nov 26, 2022 · 3 comments
Labels
Milestone

Comments

@Klaus-Tockloth
Copy link

We have lines with a SVG pattern. They are rendered incorrectly as 'black lines':

<line src="file:/patterns/fussgaengerzone.svg" symbol-width="32" stroke-width="1.5" stroke-linecap="butt"/>

Mapsforge:
mapsforge2

VTM:
vtm2

@devemux86
Copy link
Collaborator

For reference in XmlThemeBuilder.createLine there is a section to create stipple with texture
from the line symbol instruction.

@devemux86
Copy link
Collaborator

The <line src rule does not seem to be parsed, so the default (black) color is used.

@devemux86
Copy link
Collaborator

Cruiser 3.0.3 is available with the latest VTM library.
Please try it and see if now rendering works properly

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

No branches or pull requests

2 participants