Untitled
unknown
plain_text
6 months ago
1.2 kB
5
Indexable
private RoutePath makeRoutePath() { RoutePath path = null; if (mFromVenue != null) { if (mTargetVenue != null) path = NavigineSdkManager.RouteManager.makeRoute( new LocationPoint(mFromVenue.getPoint(), mFromVenue.getLocationId(), mFromVenue.getSublocationId()), new LocationPoint(mTargetPoint.getPoint(), mTargetVenue.getLocationId(), mTargetVenue.getSublocationId())); else if (mTargetPoint != null) path = NavigineSdkManager.RouteManager.makeRoute( new LocationPoint(mFromVenue.getPoint(), mFromVenue.getLocationId(), mFromVenue.getSublocationId()), mTargetPoint); } else { if (mTargetVenue != null) path = NavigineSdkManager.RouteManager.makeRoute(mFromPoint, new LocationPoint(mTargetVenue.getPoint(), mTargetVenue.getLocationId(), mTargetVenue.getSublocationId())); else if (mTargetPoint != null) path = NavigineSdkManager.RouteManager.makeRoute(mFromPoint, mTargetPoint); } return path; }
Editor is loading...
Leave a Comment