Correct plage page hiding.

This commit is contained in:
VladiMihaylenko 2017-06-09 14:05:05 +03:00
parent c25ed9fd4d
commit 1c10687e9e

View file

@ -278,13 +278,13 @@ void logSponsoredEvent(MWMPlacePageData * data, NSString * eventName)
{
GetFramework().GetRoutingManager().AddRoutePoint(self.data.mercator, false /* isMyPosition */,
RouteMarkType::Intermediate, 0);
[self close];
[self shouldClose];
}
- (void)removeStop
{
GetFramework().GetRoutingManager().RemoveRoutePoint(self.data.routeMarkType, self.data.intermediateIndex);
[self close];
[self shouldClose];
}
- (void)taxiTo