mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
reflected Layer 'active' property in Python ( Thanks, Luiz Fernando Vital!)
This commit is contained in:
parent
31442b6bac
commit
659a012000
@ -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 "
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user