diff options
author | v.mikhaylenko <v.mikhaylenko@corp.mail.ru> | 2015-06-22 00:51:09 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:52:45 +0300 |
commit | 76b955978764ceabe2002bd85a900d378dab5b11 (patch) | |
tree | 84745eff69cdf266ebb3eb79fb74513a4399c42c /iphone/Maps/Classes/MWMiPhonePortraitPlacePage.mm | |
parent | 7ae08600e6f5033a06f019eb8f49a0f271554c5f (diff) |
[ios] Added speed and altitude to my position.
Diffstat (limited to 'iphone/Maps/Classes/MWMiPhonePortraitPlacePage.mm')
-rw-r--r-- | iphone/Maps/Classes/MWMiPhonePortraitPlacePage.mm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/iphone/Maps/Classes/MWMiPhonePortraitPlacePage.mm b/iphone/Maps/Classes/MWMiPhonePortraitPlacePage.mm index 66a54c6d60..d3abb5739e 100644 --- a/iphone/Maps/Classes/MWMiPhonePortraitPlacePage.mm +++ b/iphone/Maps/Classes/MWMiPhonePortraitPlacePage.mm @@ -109,6 +109,14 @@ typedef NS_ENUM(NSUInteger, MWMiPhonePortraitPlacePageState) self.state = MWMiPhonePortraitPlacePageStatePreview; } +- (void)updateMyPositionStatus:(NSString *)status +{ + [super updateMyPositionStatus:status]; +// Setup current state. + MWMiPhonePortraitPlacePageState currentState = self.state; + self.state = currentState; +} + - (void)setState:(MWMiPhonePortraitPlacePageState)state { CGSize const size = UIScreen.mainScreen.bounds.size; |