properly serialize the map_buffer when saving map
This commit is contained in:
parent
3a44dd3258
commit
6b76b3b9e8
1 changed files with 6 additions and 0 deletions
|
@ -544,6 +544,12 @@ namespace mapnik
|
|||
set_attr( map_node, "bgcolor", * c );
|
||||
}
|
||||
|
||||
unsigned buffer_size = map.buffer_size();
|
||||
if ( buffer_size || explicit_defaults)
|
||||
{
|
||||
set_attr( map_node, "buffer_size", buffer_size );
|
||||
}
|
||||
|
||||
{
|
||||
Map::const_fontset_iterator it = map.fontsets().begin();
|
||||
Map::const_fontset_iterator end = map.fontsets().end();
|
||||
|
|
Loading…
Reference in a new issue