added <ElseFilter/> tag support in map loader.
This commit is contained in:
parent
d349c5f0c9
commit
72e296945f
1 changed files with 7 additions and 1 deletions
|
@ -90,7 +90,13 @@ namespace mapnik
|
|||
{
|
||||
rule.set_filter(create_filter(*filter_expr));
|
||||
}
|
||||
|
||||
boost::optional<std::string> else_filter =
|
||||
rule_tag.second.get_optional<std::string>("ElseFilter");
|
||||
if (else_filter)
|
||||
{
|
||||
rule.set_else(true);
|
||||
}
|
||||
|
||||
boost::optional<double> min_scale =
|
||||
rule_tag.second.get_optional<double>("MinScaleDenominator");
|
||||
if (min_scale)
|
||||
|
|
Loading…
Add table
Reference in a new issue