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

How to eliminate the jagged effect of Polygon #542

Open baneyue opened 7 months ago

baneyue commented 7 months ago

Android application:

When using Polygon in the following way, its aliasing is more obvious. I see that the style of the tile layer can be set CssStyle. Can we consider using PolygonStyleBuilder to set Css Style?

PolygonStyleBuilder builder = new PolygonStyleBuilder(); builder.setColor(); Polygon polygon = Polygon(mapPosVector, builder.buildStyle()) source?.add(polygon)