diff --git a/iphone/Maps/Classes/PlacePageView.mm b/iphone/Maps/Classes/PlacePageView.mm index 46e7d69cbf..7332740feb 100644 --- a/iphone/Maps/Classes/PlacePageView.mm +++ b/iphone/Maps/Classes/PlacePageView.mm @@ -531,11 +531,13 @@ typedef NS_ENUM(NSUInteger, CellRow) - (void)routeCellDidSetEndPoint:(PlacePageRoutingCell *)cell { GetFramework().SetRouteEnd([self pinPoint]); + [self setState:PlacePageStateHidden animated:YES withCallback:YES]; } - (void)routeCellDidSetStartPoint:(PlacePageRoutingCell *)cell { GetFramework().SetRouteStart([self pinPoint]); + [self setState:PlacePageStateHidden animated:YES withCallback:YES]; } - (void)infoCellDidPressColorSelector:(PlacePageInfoCell *)cell diff --git a/iphone/Maps/Maps.xcodeproj/project.pbxproj b/iphone/Maps/Maps.xcodeproj/project.pbxproj index dcb55fa458..3498a97f76 100644 --- a/iphone/Maps/Maps.xcodeproj/project.pbxproj +++ b/iphone/Maps/Maps.xcodeproj/project.pbxproj @@ -1567,7 +1567,7 @@ FA8F8937132D5DB00048E3FE /* libtomcrypt.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libtomcrypt.a; sourceTree = SOURCE_ROOT; }; FA971562150920C600916690 /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/Localizable.strings; sourceTree = ""; }; FA99CB72147089B100689A9A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Localizable.strings; sourceTree = ""; }; - FAA0F162196AC14100E01C3F /* librouting.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = librouting.a; path = librouting.a; sourceTree = ""; }; + FAA0F162196AC14100E01C3F /* librouting.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = librouting.a; sourceTree = ""; }; FAA4B13E13EC1C8C00BCAB63 /* DiskFreeSpace.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DiskFreeSpace.h; sourceTree = ""; }; FAA5C2A0144F135F005337F6 /* LocationManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = LocationManager.h; path = Platform/LocationManager.h; sourceTree = ""; }; FAA5C2A1144F135F005337F6 /* LocationManager.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = LocationManager.mm; path = Platform/LocationManager.mm; sourceTree = ""; };