+ add save_map impl
This commit is contained in:
parent
2cd0b55e88
commit
5bbc6468bc
1 changed files with 3 additions and 0 deletions
|
@ -34,7 +34,9 @@
|
|||
// mapnik
|
||||
#include <mapnik/config_error.hpp>
|
||||
#include <mapnik/load_map.hpp>
|
||||
#include <mapnik/save_map.hpp>
|
||||
|
||||
// qt
|
||||
#include "mainwindow.hpp"
|
||||
#include "layerlistmodel.hpp"
|
||||
#include "styles_model.hpp"
|
||||
|
@ -157,6 +159,7 @@ void MainWindow::save()
|
|||
if (!filename.isEmpty())
|
||||
{
|
||||
std::cout<<"saving "<< filename.toStdString() << std::endl;
|
||||
mapnik::save_map(*mapWidget_->getMap(),filename.toStdString());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue