forked from organicmaps/organicmaps
[ios] Fixed router from point behavior.
This commit is contained in:
parent
a1e128f831
commit
2336e94445
1 changed files with 2 additions and 2 deletions
|
@ -102,9 +102,9 @@ bool isMarkerPoint(MWMRoutePoint const & point) { return point.IsValid() && !poi
|
|||
- (void)buildFromPoint:(MWMRoutePoint const &)startPoint bestRouter:(BOOL)bestRouter
|
||||
{
|
||||
self.startPoint = startPoint;
|
||||
if (!self.finishPoint.IsValid())
|
||||
self.finishPoint = lastLocationPoint();
|
||||
[self rebuildWithBestRouter:bestRouter];
|
||||
if (!self.finishPoint.IsValid())
|
||||
[[MWMMapViewControlsManager manager] onRoutePrepare];
|
||||
}
|
||||
|
||||
- (void)buildToPoint:(MWMRoutePoint const &)finishPoint bestRouter:(BOOL)bestRouter
|
||||
|
|
Loading…
Add table
Reference in a new issue