+ serialize halo-opacity

This commit is contained in:
artemp 2014-06-17 14:24:31 +01:00
parent 7cc87c2196
commit 8bd044ec13

View file

@ -463,6 +463,11 @@ void char_properties::to_xml(boost::property_tree::ptree& node, bool explicit_de
{ {
set_attr(node, "opacity", text_opacity); set_attr(node, "opacity", text_opacity);
} }
// for shield_symbolizer this is later overridden
if (halo_opacity != dfl.halo_opacity || explicit_defaults)
{
set_attr(node, "halo-opacity", halo_opacity);
}
} }
} //ns mapnik } //ns mapnik