diff options
author | Yuri Gorshenin <y@maps.me> | 2015-07-27 12:56:45 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:57:39 +0300 |
commit | acb80ad11be5e7431cf31fac57bbe104886e3ef6 (patch) | |
tree | 013a97c129fc4eae02e655f89beefe84a8c636e4 /iphone/Maps/Classes/CustomAlert | |
parent | 2f3b3e6728cd3f660df23d7b4f64562aec85b82b (diff) |
Removed E-letter from TMapOptions set.
Diffstat (limited to 'iphone/Maps/Classes/CustomAlert')
-rw-r--r-- | iphone/Maps/Classes/CustomAlert/DownloadTransitMapsAlert/MWMDownloadTransitMapAlert.mm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/iphone/Maps/Classes/CustomAlert/DownloadTransitMapsAlert/MWMDownloadTransitMapAlert.mm b/iphone/Maps/Classes/CustomAlert/DownloadTransitMapsAlert/MWMDownloadTransitMapAlert.mm index 0edbfefee5..62295bb548 100644 --- a/iphone/Maps/Classes/CustomAlert/DownloadTransitMapsAlert/MWMDownloadTransitMapAlert.mm +++ b/iphone/Maps/Classes/CustomAlert/DownloadTransitMapsAlert/MWMDownloadTransitMapAlert.mm @@ -39,7 +39,7 @@ for (auto const & i : indexes) { [titles addObject:[NSString stringWithUTF8String:a.GetCountryName(i).c_str()]]; - totalRoutingSize += a.GetCountrySize(i, isMaps ? TMapOptions::EMapWithCarRouting : TMapOptions::ECarRouting).second; + totalRoutingSize += a.GetCountrySize(i, isMaps ? TMapOptions::MapWithCarRouting : TMapOptions::CarRouting).second; } self.isMapsFiles = isMaps; self.titles = titles; @@ -130,9 +130,9 @@ static CGFloat const kMinimumOffset = 20.; __strong MWMDownloadTransitMapAlert * alert = wAlert; auto & a = GetFramework().GetCountryTree().GetActiveMapLayout(); for (auto const & index : alert->maps) - a.DownloadMap(index, TMapOptions::EMapWithCarRouting); + a.DownloadMap(index, TMapOptions::MapWithCarRouting); for (auto const & index : alert->routes) - a.DownloadMap(index, TMapOptions::ECarRouting); + a.DownloadMap(index, TMapOptions::CarRouting); }; [alert configure]; return alert; |