On 19.03.2016 20:40, Tobias Wendorff wrote:
Hi there,

is it possible to place multiline labels in MapPaint unsing MapCSS?
I've played around with eval(replace()) and \n in every variation
(\\n, "\n", '\n', "\\n", '\\n' etc.), but can't get the label to
break :(

No, automatic line break doesn't work at the moment. What you can do is place multiple labels, one below the other like this:

node[shop=supermarket] {
    text: auto;
}
node[shop=supermarket]::snd_label {
    text: "opening_hours";
    text-offset-y: -15;
    text-offset-x: 7;
}

Paul




_______________________________________________
josm-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/josm-dev

Reply via email to