mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
viewer: zoom to full extent of map when loading from xml
This commit is contained in:
parent
3bedc85774
commit
b4851dcb78
@ -185,6 +185,7 @@ void MainWindow::load_map_file(QString const& filename)
|
||||
}
|
||||
layerTab_->setModel(new LayerListModel(map,this));
|
||||
styleTab_->setModel(new StyleModel(map,this));
|
||||
zoom_all();
|
||||
}
|
||||
|
||||
void MainWindow::zoom_to_box()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user