I am trying to use tilemill labels and Shield together for my road designing. But there is a problem with that. Please see the following image for better understanding. The shield is ovarlapping the Road name.
I used the following code for my .mss
#road::Labels {
text-name: [ROAD_NAME];
text-face-name: "Candara Bold";
text-size: 16;
text-fill: #000000;
text-placement: line;
text-halo-fill: #f6f3f3;
text-halo-radius: 1;
text-spacing: 400;
}
#road::N_Shield {
[ROAD_TYPE =1]{
shield-file: url("C:\wamp\www\shield.png");
shield-name: [ROAD_NO];
shield-face-name:"Arial Bold";
shield-size:16;
shield-fill: black;
shield-line-spacing:5;
shield-min-distance:1;
shield-allow-overlap:true;
shield-placement:line;
shield-dx:150;
shield-spacing:450;
}
}
Anyone can help me what to do.