[josm-dev] Multiline labels in JOSM?

Tobias Wendorff tobias.wendorff at tu-dortmund.de
Sat Mar 19 20:36:03 UTC 2016


Hi Paul,

Am Sa, 19.03.2016, 20:53 schrieb Paul Hartmann:
>
> No, automatic line break doesn't work at the moment.

Hehe, it's semi-automatic when using "\n", but I know what you mean :)

>  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;
> }

Ah, okay. I could using substring() then. Won't work everywhere,
but I'll give it a try.

Best regards,
Tobias




More information about the josm-dev mailing list