added zoom_all method

This commit is contained in:
Artem Pavlenko 2006-08-23 20:35:01 +00:00
parent 4ae66cef36
commit 494556f0de

View file

@ -93,8 +93,10 @@ void export_map()
.def("envelope",make_function(&Map::getCurrentExtent,
return_value_policy<copy_const_reference>()),
"The current extent of the map")
.def("scale", &Map::scale)
.def("zoom_all",&Map::zoom_all,
"Set the geographical extent of the map "
"to the combined extents of all active layers")
.def("zoom_to_box",&Map::zoomToBox, "Set the geographical extent of the map.")
.def("pan",&Map::pan)
.def("zoom",&Map::zoom)