+ set opacity on markers_symbolizer
This commit is contained in:
parent
1d0ccd689b
commit
b27357848d
1 changed files with 3 additions and 5 deletions
|
@ -807,10 +807,8 @@ void map_parser::parse_markers_symbolizer( rule_type & rule, ptree const & sym )
|
|||
|
||||
markers_symbolizer symbol(parse_path(filename));
|
||||
optional<float> opacity = get_opt_attr<float>(sym, "opacity");
|
||||
if (opacity)
|
||||
{
|
||||
// TODO !!!!! symbol.set_opacity( *opacity );
|
||||
}
|
||||
if (opacity) symbol.set_opacity( *opacity );
|
||||
|
||||
if (transform_wkt)
|
||||
{
|
||||
agg::trans_affine tr;
|
||||
|
@ -1329,7 +1327,7 @@ void map_parser::parse_shield_symbolizer( rule_type & rule, ptree const & sym )
|
|||
// text-opacity
|
||||
optional<double> text_opacity =
|
||||
get_opt_attr<double>(sym, "text-opacity");
|
||||
if (opacity)
|
||||
if (text_opacity)
|
||||
{
|
||||
shield_symbol.set_text_opacity( * text_opacity );
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue