diff options
author | Daria Volvenkova <d.volvenkova@corp.mail.ru> | 2016-02-18 18:11:42 +0300 |
---|---|---|
committer | Sergey Yershov <yershov@corp.mail.ru> | 2016-03-23 16:21:27 +0300 |
commit | 519e60dc3f675035281acf8fee4b2203a40e19fa (patch) | |
tree | 38d5208b20083e594364bf416bedfe4db0592f2d /drape_frontend/overlay_batcher.cpp | |
parent | 1a50ff67daaca26aaa7c058f50411b2647439345 (diff) |
Remove buckets when current zoom is less than features min visible zoom.
Diffstat (limited to 'drape_frontend/overlay_batcher.cpp')
-rw-r--r-- | drape_frontend/overlay_batcher.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drape_frontend/overlay_batcher.cpp b/drape_frontend/overlay_batcher.cpp index 09ce323bd1..2d9676a193 100644 --- a/drape_frontend/overlay_batcher.cpp +++ b/drape_frontend/overlay_batcher.cpp @@ -26,6 +26,7 @@ OverlayBatcher::OverlayBatcher(TileKey const & key) void OverlayBatcher::Batch(drape_ptr<MapShape> const & shape, ref_ptr<dp::TextureManager> texMng) { + m_batcher.SetFeatureMinZoom(shape->GetFeatureMinZoom()); bool const sharedFeature = shape->GetFeatureInfo().IsValid(); if (sharedFeature) m_batcher.StartFeatureRecord(shape->GetFeatureInfo(), shape->GetFeatureLimitRect()); |