Skip to content
This repository has been archived by the owner on Apr 27, 2024. It is now read-only.

Dashed lines #3

Open
bambozya opened this issue Oct 21, 2013 · 3 comments
Open

Dashed lines #3

bambozya opened this issue Oct 21, 2013 · 3 comments

Comments

@bambozya
Copy link

In order to create a dashed line there is only one option that is to add a stipple-stroke value to the line which allows to create an equally stroked and spaced dashed line and misses different patterns of dashed lines such as here: http://www.smustard.com/scriptpix/dashed_lines_patterns.png

@hjanetzek
Copy link
Member

Stippled lines are rendered by TexLineLayer. Currently the stipple pattern is hardcoded in the shader. I guess it should be easy to pass a custom 1D texture or array uniform for drawing different patterns.

@devemux86
Copy link

In the fork by Mapsforge I added support for line / PathLayer stipples and textures.

See mapsforge#105

@hjanetzek
Copy link
Member

Thanks @devemux86 for pushing VTM forward :)

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

No branches or pull requests

3 participants