forked from organicmaps/organicmaps
Added worst feature rect support for ViewPort
This commit is contained in:
parent
1392ed923e
commit
d503aac7d4
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ public:
|
|||
|
||||
m2::RectD GetViewport(FeatureType const & feature) const
|
||||
{
|
||||
m2::RectD limitRect = feature.GetLimitRect(0);
|
||||
m2::RectD limitRect = feature.GetLimitRect(-2);
|
||||
if (feature.GetFeatureType() != feature::GEOM_POINT)
|
||||
return limitRect;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue