diff --git a/include/mapnik/memory_featureset.hpp b/include/mapnik/memory_featureset.hpp index f8f97e38d..116e1f350 100644 --- a/include/mapnik/memory_featureset.hpp +++ b/include/mapnik/memory_featureset.hpp @@ -37,6 +37,13 @@ public: pos_(ds.features_.begin()), end_(ds.features_.end()) {} + + memory_featureset(box2d const& bbox, std::vector const& features) + : bbox_(bbox), + pos_(features.begin()), + end_(features.end()) + {} + virtual ~memory_featureset() {} feature_ptr next()