-
Hi, I'm looking to do draw an arrow on top of the PathLayer in my VTM android application. However I'm stuck because if I add a texture to my path overlay, then it seem that the line is not drawn anymore Do I need two path overlay (One simple and one with Texture) as it seem it was proposed on another issue? Regards |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Need two path layers, one with an arrow texture and stipple configuration. See also the LineTexActivity example for an implementation. |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for your reply I tested to add texture on my path layer however on segment junction in my path, the texture is splitted/truncated: This is generated with the following line style: LineStyle.LineBuilder().reset()
.stippleColor(c)
.stipple(240)
.stippleWidth(20f)
.strokeWidth(120f)
.strokeColor(c)
.fixed(true)
.texture(tex)
.randomOffset(false)
.build() How have you resolved this? |
Beta Was this translation helpful? Give feedback.
Need two path layers, one with an arrow texture and stipple configuration.
The arrow bitmap can have transparent margins like the old oneway arrow.
See also the LineTexActivity example for an implementation.