re-enable (partially) features at point interface
This commit is contained in:
parent
7e452602fa
commit
3ec7310f98
1 changed files with 4 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue