updated to latest mapnik

This commit is contained in:
Artem Pavlenko 2006-12-07 23:43:31 +00:00
parent 7d62c229d0
commit 447b63b1c1

View file

@ -237,8 +237,8 @@ int main ( int argc , char** argv)
agg_renderer<Image32> ren(m,buf); agg_renderer<Image32> ren(m,buf);
ren.apply(); ren.apply();
ImageUtils::save_to_file("demo.jpg","jpeg",buf); save_to_file<ImageData32>("demo.jpg","jpeg",buf.data());
ImageUtils::save_to_file("demo.png","png",buf); save_to_file<ImageData32>("demo.png","png",buf.data());
std::cout << "Two maps have been rendered in the current directory:\n" std::cout << "Two maps have been rendered in the current directory:\n"
"- demo.jpg\n" "- demo.jpg\n"