1

How can I flip labels on my lines upside down? I am styling some OSM data and the cartocss is currently

#streets{ 
text-size: 14; 
text-name: [NAME]; 
text-face-name: 'ATRotSemSanLigIta Regular'; 
text-fill: #000; 
text-halo-fill: fadeout(white, 40%); 
text-halo-radius: 2; 
text-placement: line; 
text-dy: 12; 
}

I think its via text-orientation but cannot get it to fire

1 Answer 1

1

Try to use:

text-orientation:[angle];

where angle is a number with values from 0 to 360.

3
  • this is close but I want the labels on lines. When text-placement:line is selected, the text-orientation is overridden
    – jotamon
    Commented Jan 22, 2014 at 21:11
  • I think you are right, although the documentation does not say anything about it. Commented Jan 23, 2014 at 6:39
  • 1
    yep, messed around a bunch and can't get them both simultaneously Commented Jan 24, 2014 at 18:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.