CartoDB / mobile-sdk

CARTO Mobile SDK core project
https://carto.com/docs/carto-engine/mobile-sdk/
BSD 3-Clause "New" or "Revised" License
179 stars 65 forks source link

LineStyleBuilder with setBitmap method error render #515

Closed vTechGIS closed 1 year ago

vTechGIS commented 1 year ago

I am using "LineStyleBuilder" with "setBitmap()" method for Line element vector. However I see that the SDK is giving an error when rendering the bitmap displayed for Line with multiple vertex. If there are only 2 vertex there is no error. Could you help me fix this error?

I'm using Carto Mobile SDK v4.6.6. In my screenshot Green line has no error and Purple line has rendering error

1660727076009

mtehver commented 1 year ago

I suggest setting style lineJoinMode to LINE_JOIN_TYPE_NONE when patterns are used. In general this is a known issue but has low priority in our TODO list.

vTechGIS commented 1 year ago

I suggest setting style lineJoinMode to LINE_JOIN_TYPE_NONE when patterns are used. In general this is a known issue but has low priority in our TODO list.

I fixed it with style LINE_JOIN_TYPE_NONE., Thank you so much,