+ update viewer

This commit is contained in:
artemp 2013-02-21 10:39:02 +00:00
parent 6d037fa9ae
commit 45fa7e30c7

View file

@ -159,7 +159,7 @@ void MapWidget::mousePressEvent(QMouseEvent* e)
QVector<QPair<QString,QString> > info; QVector<QPair<QString,QString> > info;
projection map_proj(map_->srs()); // map projection projection map_proj(map_->srs()); // map projection
double scale_denom = scale_denominator(*map_,map_proj.is_geographic()); double scale_denom = scale_denominator(map_->scale(),map_proj.is_geographic());
CoordTransform t(map_->width(),map_->height(),map_->get_current_extent()); CoordTransform t(map_->width(),map_->height(),map_->get_current_extent());
for (unsigned index = 0; index < map_->layer_count();++index) for (unsigned index = 0; index < map_->layer_count();++index)