[josm-dev] Multiline labels in JOSM?
Paul Hartmann
phaaurlt at gmail.com
Sat Mar 19 19:53:46 UTC 2016
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
More information about the josm-dev
mailing list