From c020acb3a7061d5b4ca2de8564ae1373a1cda2c1 Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Thu, 27 May 2010 10:19:55 +0000 Subject: [PATCH] + update attribute collector to handle 'orientation' --- include/mapnik/attribute_collector.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/mapnik/attribute_collector.hpp b/include/mapnik/attribute_collector.hpp index 644360268..7a7de3fae 100644 --- a/include/mapnik/attribute_collector.hpp +++ b/include/mapnik/attribute_collector.hpp @@ -99,6 +99,14 @@ struct symbolizer_attributes : public boost::static_visitor<> expression_attributes f_attr(names_); boost::apply_visitor(f_attr,*name_expr); } + + expression_ptr const& orientation_expr = sym.get_orientation(); + if (orientation_expr) + { + expression_attributes f_attr(names_); + boost::apply_visitor(f_attr,*orientation_expr); + } + } void operator () (point_symbolizer const& sym)