forked from organicmaps/organicmaps
Added ability to update map and download routing at the same time.
This commit is contained in:
parent
b519d2e789
commit
28ff6cbac8
1 changed files with 3 additions and 0 deletions
|
@ -189,6 +189,9 @@
|
|||
NSString * size = [self formattedMapSize:[self selectedMapSizeWithOptions:TMapOptions::EMapOnly]];
|
||||
NSString * title = [NSString stringWithFormat:@"%@, %@", L(@"downloader_update_map"), size];
|
||||
[self addButtonWithTitle:title action:DownloaderActionDownloadMap toActionSheet:actionSheet];
|
||||
size = [self formattedMapSize:[self selectedMapSizeWithOptions:TMapOptions::EMapWithCarRouting]];
|
||||
title = [NSString stringWithFormat:@"%@, %@", L(@"downloader_update_map_and_routing"), size];
|
||||
[self addButtonWithTitle:title action:DownloaderActionDownloadAll toActionSheet:actionSheet];
|
||||
}
|
||||
|
||||
if (status == TStatus::EOnDisk || status == TStatus::EOnDiskOutOfDate)
|
||||
|
|
Loading…
Add table
Reference in a new issue