I am using the rimui_maps_lib-1.1.1 and trying to set the line width of a polygon greater than 1 but it doesn't seem to do anything. The line is still hair thin, even if I zoom in all the way. Here is my code:
LineStyle lineStyle = new LineStyle(Color.BLUE, 5);
PolyStyle polyStyle = new PolyStyle(
Color.BLUE,
PolyStyle.NO_FILL,
lineStyle
);
Polygon polygon = new Polygon(
Constants.SERVICE_AREA[i],
polyStyle
);
mapComponent.addPolygon(serviceArea);
Right, Polygon does not support width attribute for border, only color. Could you draw two objects: polygon and then Line with desired width? Line supports width. Performance-wise it would be basically same as having direct support for line width for Polygon.
The Line object worked great, thanks Jaak.
bump