fixed fill-*
This commit is contained in:
parent
8b8028716f
commit
2c55e7d017
2 changed files with 3 additions and 3 deletions
|
@ -342,11 +342,11 @@ if options.renderer == "mapnik":
|
|||
continue
|
||||
|
||||
|
||||
if "width" in entry["style"] or "line-style" in entry["style"]:
|
||||
if "width" in entry["style"] or "line-style" in entry["style"] or (("fill-color" in entry["style"] or "fill-image" in entry["style"]) and layer_type == "polygon"):
|
||||
xml += xml_rule_start()
|
||||
xml += x_scale
|
||||
xml += xml_filter(entry["rulestring"])
|
||||
if entry["type"] in ("way", "area", "polygon"):
|
||||
if layer_type == "polygon":
|
||||
if "fill-color" in entry["style"]:
|
||||
xml += xml_polygonsymbolizer(entry["style"].get("fill-color", "black"), entry["style"].get("fill-opacity", "1"))
|
||||
if "fill-image" in entry["style"]:
|
||||
|
|
|
@ -853,7 +853,7 @@ node|z7-[place=ocean]
|
|||
node|z-6[place=sea]
|
||||
{text:name; text-offset:0; font-size:8; font-family: DejaVu Sans Oblique; text-halo-radius:1; text-color:#4976d1;text-halo-color:#ffffff;-x-mapnik-min-distance:0}
|
||||
|
||||
node|z7-[place=sea]
|
||||
node|z7-9[place=sea]
|
||||
{text:name; text-offset:0; font-size:10; font-family: DejaVu Sans Oblique; text-halo-radius:1; text-color:#4976d1;text-halo-color:#ffffff;-x-mapnik-min-distance:0}
|
||||
|
||||
node|z3-4[natural=peak][ele>4500]
|
||||
|
|
Loading…
Add table
Reference in a new issue