python: allow box2d to be returned as optional (None) to support map.maximum_extent
This commit is contained in:
parent
0f76900d83
commit
4cc1bb0e04
1 changed files with 1 additions and 0 deletions
|
@ -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> >())
|
||||
;
|
||||
|
|
Loading…
Reference in a new issue