[iOS] Always show balloon on the map after parsing.

This commit is contained in:
Kirill Zhdanovich 2013-05-03 01:28:06 +03:00 committed by Alex Zolotarev
parent 5cef11e2de
commit 563dc5a62b

View file

@ -226,10 +226,10 @@ void InitLocalizedStrings()
-(void) showParsedBookmarkOnMap:(url_api::Request) request
{
[m_mapViewController dismissPopoverAndSaveBookmark:YES];
[m_navController popToRootViewControllerAnimated:YES];
if (![m_navController.visibleViewController isMemberOfClass:NSClassFromString(@"MapViewController")])
[m_mapViewController dismissModalViewControllerAnimated:YES];
[m_mapViewController dismissPopoverAndSaveBookmark:YES];
m_navController.navigationBarHidden = YES;
m2::PointD point(MercatorBounds::LonToX(request.m_viewportLon),