forked from organicmaps/organicmaps
[iOS] fixed routing from start point
This commit is contained in:
parent
bd8805ec03
commit
53edd20eab
1 changed files with 3 additions and 1 deletions
|
@ -298,7 +298,9 @@ void logSponsoredEvent(MWMPlacePageData * data, NSString * eventName)
|
|||
[Statistics logEvent:kStatEventName(kStatPlacePage, kStatBuildRoute)
|
||||
withParameters:@{kStatValue : kStatDestination}];
|
||||
|
||||
[MWMRouter stopRouting];
|
||||
if ([MWMRouter isOnRoute])
|
||||
[MWMRouter stopRouting];
|
||||
|
||||
if ([MWMTrafficManager transitEnabled])
|
||||
[MWMRouter setType:MWMRouterTypePublicTransport];
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue