diff --git a/include/mapnik/json/feature_generator_grammar.hpp b/include/mapnik/json/feature_generator_grammar.hpp index d2a5c8e52..9eaa3bb99 100644 --- a/include/mapnik/json/feature_generator_grammar.hpp +++ b/include/mapnik/json/feature_generator_grammar.hpp @@ -40,26 +40,26 @@ struct is_container : mpl::false_ {} ; template <> struct container_iterator { - using type = mapnik::feature_kv_iterator; + using type = mapnik::feature_kv_iterator2; }; template <> struct begin_container { - static mapnik::feature_kv_iterator + static mapnik::feature_kv_iterator2 call (mapnik::feature_impl const& f) { - return f.begin(); + return mapnik::feature_kv_iterator2(mapnik::value_not_null(),f.begin(),f.end()); } }; template <> struct end_container { - static mapnik::feature_kv_iterator + static mapnik::feature_kv_iterator2 call (mapnik::feature_impl const& f) { - return f.end(); + return mapnik::feature_kv_iterator2(mapnik::value_not_null(),f.end(),f.end()); } };