From 659a012000616149edf58fa5b78d5e92da08455e Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Sun, 17 Dec 2006 12:08:11 +0000 Subject: [PATCH] reflected Layer 'active' property in Python ( Thanks, Luiz Fernando Vital!) --- bindings/python/mapnik_layer.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bindings/python/mapnik_layer.cpp b/bindings/python/mapnik_layer.cpp index 989707734..09831e148 100644 --- a/bindings/python/mapnik_layer.cpp +++ b/bindings/python/mapnik_layer.cpp @@ -74,6 +74,10 @@ void export_layer() &Layer::datasource, &Layer::set_datasource, "The datasource attached to this layer") + + .add_property("active", + &Layer::isActive, + &Layer::setActive) .def("envelope",&Layer::envelope, "Return the geographic envelope/bounding box "