opt
This commit is contained in:
@@ -6,6 +6,7 @@ import com.amap.api.services.core.LatLonPoint;
|
||||
import com.amap.api.services.route.DriveRouteResult;
|
||||
import com.amap.api.services.route.RouteSearch;
|
||||
import com.mogo.map.MogoLatLng;
|
||||
import com.mogo.map.impl.amap.AMapWrapper;
|
||||
import com.mogo.map.impl.amap.InterceptorHandler;
|
||||
import com.mogo.utils.logger.Logger;
|
||||
|
||||
@@ -74,7 +75,7 @@ public class RouteOverlayHelper {
|
||||
Logger.e( TAG, "算路失败. code = %d", i );
|
||||
return;
|
||||
}
|
||||
mDrivingRouteOverlay = new DrivingRouteOverlay( context, null,
|
||||
mDrivingRouteOverlay = new DrivingRouteOverlay( context, AMapWrapper.getAMap(),
|
||||
driveRouteResult.getPaths().get( 0 ),
|
||||
driveRouteResult.getStartPos(),
|
||||
driveRouteResult.getTargetPos(),
|
||||
|
||||
Reference in New Issue
Block a user