fix transform serialization for markers_symbolizer
This commit is contained in:
parent
77dfac5622
commit
28b02737cd
1 changed files with 2 additions and 2 deletions
|
@ -307,10 +307,10 @@ public:
|
||||||
{
|
{
|
||||||
set_attr( sym_node, "placement", sym.get_marker_placement() );
|
set_attr( sym_node, "placement", sym.get_marker_placement() );
|
||||||
}
|
}
|
||||||
std::string tr_str = sym.get_transform_string();
|
std::string tr_str = sym.get_image_transform_string();
|
||||||
if (tr_str != "matrix(1, 0, 0, 1, 0, 0)" || explicit_defaults_ )
|
if (tr_str != "matrix(1, 0, 0, 1, 0, 0)" || explicit_defaults_ )
|
||||||
{
|
{
|
||||||
set_attr( sym_node, "transform", tr_str );
|
set_attr( sym_node, "image-transform", tr_str );
|
||||||
}
|
}
|
||||||
|
|
||||||
const stroke & strk = sym.get_stroke();
|
const stroke & strk = sym.get_stroke();
|
||||||
|
|
Loading…
Reference in a new issue