Browse files

add serialization of line_symbolizer offset - closes #1562

  • Loading branch information...
1 parent 0b2f2f8 commit 13a437232d4a60c9b29a86a6559357564f6a4c17 @springmeyer springmeyer committed Nov 28, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/save_map.cpp
View
4 src/save_map.cpp
@@ -98,6 +98,10 @@ class serialize_symbolizer : public boost::static_visitor<>
{
set_attr( sym_node, "rasterizer", sym.get_rasterizer() );
}
+ if ( sym.get_offset() != dfl.get_offset() || explicit_defaults_ )
+ {
+ set_attr( sym_node, "offset", sym.get_offset() );
+ }
serialize_symbolizer_base(sym_node, sym);
}

0 comments on commit 13a4372

Please sign in to comment.