Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Burkhard

#1
Yes, it seems there a wrong description, now I think so too:

"pathText

    k
    font-family
    font-style
    font-size
    fill
    stroke
    stroke-width
    dx
    dy
    upper-case
    rotate_up
    scale-font-size
    bg-rect-fill
    bg-rect-stroke
    bg-rect-over
    bg-rect-stroke-width
    bg-rect-rounded

"
Thanks John!
#2
Hello,

I'd like to display a background rectangle behind pathtexts along ways.
The supported tags are described in LoMaps Theming .

So this is my rule in the theme XML-file:

<rule e="way" k="highway" v="footway|path|track|bridleway" zoom-min="15">
   <pathText force-draw="1" k="name" dy="25.0dp" font-style="italic" font-size="8dp" fill="#000000" stroke="#FFFF00" stroke-width="1dp" rotate_up="true" bg-rect-fill="#5757FD" bg-rect-stroke="#FFFFFF" bg-rect-over="5.0dp" bg-rect-stroke-width="1.0dp" bg-rect-rounded="1.0dp"/>
</rule>

Problem:
The names are always displayed without any rectangle !!

Any ideas for the cause and a solution?

PS: the same rule with caption works perfect:

<rule e="way" k="highway" v="footway|path|track|bridleway" zoom-min="15">
   <captionforce-draw="1" k="name" dy="25.0dp" font-style="italic" font-size="8dp" fill="#000000" stroke="#FFFF00" stroke-width="1dp" rotate_up="true" bg-rect-fill="#5757FD" bg-rect-stroke="#FFFFFF" bg-rect-over="5.0dp" bg-rect-stroke-width="1.0dp" bg-rect-rounded="1.0dp"/>
</rule>