diff --git a/ElseFilter.md b/ElseFilter.md index 15a5d9e..3e791ff 100644 --- a/ElseFilter.md +++ b/ElseFilter.md @@ -15,8 +15,7 @@ For each Object read from the Datasource Mapnik checks if the current ScaleDenom * If the Object _passes_ these tests, the first Rule is evaluated painted to the map. The two other Rules are ignored in this case. * If the Object _misses_ these tests, the two Rules with an `` are evaluated according to their Min- and MaxScaleDenominator. - - #!xml +```xml +``` ## Example in Python - #!python +```python rule = mapnik.Rule() rule.set_else(True) # instead of rule.filter(...) +``` ## See also * The normal [Filter](https://github.com/mapnik/mapnik/wiki/Filter)