fixed advanced text placement
This commit is contained in:
parent
fae644ec72
commit
a6a21c9dfc
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ def xml_textsymbolizer(text="name",face="DejaVu Sans Book",size="10",color="#000
|
|||
color = nicecolor(color)
|
||||
halo_color = nicecolor(halo_color)
|
||||
pos = pos.replace("exact", "X").replace("any","S, E, X, N, W, NE, SE, NW, SW").split(",")
|
||||
pos.extend(size.split(","))
|
||||
pos.extend([int(x) for x in size.split(",")])
|
||||
pos = ",".join(pos)
|
||||
size = size.split(",")[0]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue