Please see the following Image.
I am using a single feature layer for road. Now I using the following code
#roads {
[ROAD_TYPE = 1] {line-width:8; line-color:#194536;}
[ROAD_TYPE = 2] {line-width:8; line-color:#456321;}
[ROAD_TYPE = 3] {line-width:8; line-color:#785632;}
[ROAD_TYPE = 4] {line-width:8; line-color:#236485;}
[ROAD_TYPE = 5] {line-width:8; line-color:#FFFFFF;}
[ROAD_TYPE = 6] {line-width:8; line-color:#194536;}
line-join: round;
line-cap: round;
line-smooth: 0.1;
}
The problem is in the Black circles the white goes under the green road layer. But in the red circle the white layer overlap the green and other major layers. How can I solve it and make it a very nice style as Google or OSM map?