== topojson ==

+ use boost::variant<> for storing properties
+ parse properties as top level key/value pairs
This commit is contained in:
artemp 2013-10-03 15:32:07 +01:00
parent ac8ececf1c
commit 11fabe0fcb

View file

@ -103,7 +103,7 @@ struct feature_generator : public boost::static_visitor<mapnik::feature_ptr>
{
for (auto const& p : *poly.props)
{
feature->put_new(std::get<0>(p), mapnik::value(1LL)/*std::get<1>(p)*/);
feature->put_new(std::get<0>(p), mapnik::value(1LL)/*std::get<1>(p)*/); // TODO
}
}
return feature;