diff options
author | mpimenov <mpimenov@users.noreply.github.com> | 2017-02-13 19:37:48 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-13 19:37:48 +0300 |
commit | d1ca2a02c1e6a1ec1cd3e231cd145f848bf07c9b (patch) | |
tree | 8ab2facf0f6caf6ae81ed172a83622b8425348e1 /map | |
parent | 05b55c1b6aa0d708ef826f9ade4cb4ae6f86954b (diff) | |
parent | 56c926d5347eb0f18cd04f8bdf95303d99383541 (diff) |
Merge pull request #5136 from mgsergio/openlr-decodingbeta-627
OpenLR decoding, markup tool.
Diffstat (limited to 'map')
-rw-r--r-- | map/framework.cpp | 2 | ||||
-rw-r--r-- | map/framework.hpp | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/map/framework.cpp b/map/framework.cpp index 83ef79d4ee..5ce26cf856 100644 --- a/map/framework.cpp +++ b/map/framework.cpp @@ -3315,7 +3315,7 @@ namespace }; } // namespace -void Framework::VizualizeRoadsInRect(m2::RectD const & rect) +void Framework::VisualizeRoadsInRect(m2::RectD const & rect) { int constexpr kScale = scales::GetUpperScale(); size_t counter = 0; diff --git a/map/framework.hpp b/map/framework.hpp index c3fae40e10..70d5e113d4 100644 --- a/map/framework.hpp +++ b/map/framework.hpp @@ -273,6 +273,8 @@ public: storage::CountryInfoGetter & GetCountryInfoGetter() { return *m_infoGetter; } StorageDownloadingPolicy & GetDownloadingPolicy() { return m_storageDownloadingPolicy; } + Index const & GetIndex() const { return m_model.GetIndex(); } + /// @name Bookmarks, Tracks and other UserMarks //@{ /// Scans and loads all kml files with bookmarks in WritableDir. @@ -310,7 +312,7 @@ public: m2::PointD GetSearchMarkSize(SearchMarkType searchMarkType); // Utilities - void VizualizeRoadsInRect(m2::RectD const & rect); + void VisualizeRoadsInRect(m2::RectD const & rect); protected: // search::ViewportSearchCallback::Delegate overrides: @@ -652,7 +654,7 @@ public: } /// Set parse to false if you don't need all feature fields ready. /// TODO(AlexZ): Refactor code which uses this method to get rid of it. - /// FeatureType instances shoud not be used outside ForEach* core methods. + /// FeatureType instances should not be used outside ForEach* core methods. WARN_UNUSED_RESULT bool GetFeatureByID(FeatureID const & fid, FeatureType & ft) const; void MemoryWarning(); |