diff options
author | ExMix <rahuba.youri@mapswithme.com> | 2014-01-13 16:06:21 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:10:20 +0300 |
commit | f62a91e8aa8241b856423dc2ad2b52104fe86a8d (patch) | |
tree | 0335f728e431dd515c0a20385fee2fb10fee576a /map/feature_vec_model.hpp | |
parent | 060e53d9340eb761150bb5bc17c580e2ef00907f (diff) |
[drape] replace ProcessMWM method on functor. Preparing for read mwm index separately from the features
Diffstat (limited to 'map/feature_vec_model.hpp')
-rw-r--r-- | map/feature_vec_model.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/map/feature_vec_model.hpp b/map/feature_vec_model.hpp index bdb294ae87..81c5726d48 100644 --- a/map/feature_vec_model.hpp +++ b/map/feature_vec_model.hpp @@ -71,6 +71,13 @@ namespace model { m_multiIndex.ForEachInRect_TileDrawing(toDo, rect, scale); } + + template <class ToDo> + void ForEachFeatureID(m2::RectD const & rect, ToDo & toDo, int scale) const + { + m_multiIndex.ForEachFeatureIDInRect(toDo, rect, scale); + } + //@} Index const & GetIndex() const { return m_multiIndex; } |