python: allow box2d to be returned as optional (None) to support map.maximum_extent

This commit is contained in:
Dane Springmeyer 2011-12-20 10:42:38 -08:00
parent 0f76900d83
commit 4cc1bb0e04

View file

@ -202,6 +202,7 @@ void export_map()
;
python_optional<mapnik::color> ();
python_optional<mapnik::box2d<double> > ();
class_<std::vector<layer> >("Layers")
.def(vector_indexing_suite<std::vector<layer> >())
;