Merge pull request #2440 from mapycz/fix-data-binding

fix text symbolizer property data binding
This commit is contained in:
Jiri Drbalek 2014-09-25 20:51:56 +02:00
commit 78e3f6c43d

View file

@ -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