diff --git a/AlsoFilter.md b/AlsoFilter.md index a8739be..37796cd 100644 --- a/AlsoFilter.md +++ b/AlsoFilter.md @@ -20,8 +20,7 @@ For each Object read from the Datasource Mapnik checks if the current ScaleDenom * If the Object _passes_ these tests, the according rule is evaluated. After all normal Rules have been evaluated, the Rules containing an `` are also evaluated. * If the Object _misses_ these tests, none of the rules is evaluated. - - #!xml +```xml +``` ## Example in Python - #!python +```python rule = mapnik.Rule() rule.set_also(True) # instead of rule.filter(...) +``` ## See also * The normal [Filter](https://github.com/mapnik/mapnik/wiki/Filter)