+ ensure passing of default scale_factor to each render function
This commit is contained in:
parent
3e34359aad
commit
0706b4fbaa
1 changed files with 2 additions and 2 deletions
|
@ -194,7 +194,7 @@ void render_to_file1(const mapnik::Map& map,
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
mapnik::image_32 image(map.getWidth(),map.getHeight());
|
mapnik::image_32 image(map.getWidth(),map.getHeight());
|
||||||
render(map,image,0,0);
|
render(map,image,1.0,0,0);
|
||||||
mapnik::save_to_file(image,filename,format);
|
mapnik::save_to_file(image,filename,format);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -213,7 +213,7 @@ void render_to_file2(const mapnik::Map& map,const std::string& filename)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
mapnik::image_32 image(map.getWidth(),map.getHeight());
|
mapnik::image_32 image(map.getWidth(),map.getHeight());
|
||||||
render(map,image,0,0);
|
render(map,image,1.0,0,0);
|
||||||
mapnik::save_to_file(image,filename);
|
mapnik::save_to_file(image,filename);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue