Merge pull request #2440 from mapycz/fix-data-binding
fix text symbolizer property data binding
This commit is contained in:
commit
78e3f6c43d
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ struct MAPNIK_DECL symbolizer_base
|
||||||
|
|
||||||
inline bool is_expression(symbolizer_base::value_type const& val)
|
inline bool is_expression(symbolizer_base::value_type const& val)
|
||||||
{
|
{
|
||||||
return (val.get_type_index() == 6);
|
return val.is<expression_ptr>();
|
||||||
}
|
}
|
||||||
|
|
||||||
// symbolizer properties target types
|
// symbolizer properties target types
|
||||||
|
|
Loading…
Reference in a new issue