properly serialize the map_buffer when saving map

This commit is contained in:
Dane Springmeyer 2010-03-11 23:21:22 +00:00
parent 3a44dd3258
commit 6b76b3b9e8

View file

@ -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();