#ifndef GEOJSON_FEATURESET_HPP #define GEOJSON_FEATURESET_HPP #include #include "geojson_datasource.hpp" #include #include class geojson_featureset : public mapnik::Featureset { public: geojson_featureset(std::vector const& features, std::deque::const_iterator index_itr, std::deque::const_iterator index_end); virtual ~geojson_featureset(); mapnik::feature_ptr next(); private: mapnik::box2d box_; std::vector const& features_; std::deque::const_iterator index_itr_; std::deque::const_iterator index_end_; }; #endif // GEOJSON_FEATURESET_HPP