re-enable (partially) features at point interface

This commit is contained in:
artemp 2015-10-08 14:52:41 +01:00
parent 7e452602fa
commit 3ec7310f98

View file

@ -180,9 +180,6 @@ void MapWidget::mousePressEvent(QMouseEvent* e)
feature_ptr feat = fs->next();
if (feat)
{
// FIXME
#if 0
feature_kv_iterator itr(*feat,true);
feature_kv_iterator end(*feat);
@ -192,9 +189,10 @@ void MapWidget::mousePressEvent(QMouseEvent* e)
std::get<1>(*itr).to_string().c_str()));
}
#if 0 //
using path_type = mapnik::transform_path_adapter<mapnik::view_transform,mapnik::vertex_adapter>;
for (unsigned i=0; i<feat->num_geometries();++i)
for (unsigned i=0; i < feat->num_geometries();++i)
{
mapnik::geometry_type const& geom = feat->get_geometry(i);
mapnik::vertex_adapter va(geom);
@ -219,9 +217,9 @@ void MapWidget::mousePressEvent(QMouseEvent* e)
painter.drawPath(qpath);
update();
}
}
}
#endif
}
}
}
if (info.size() > 0)