Skip to content

Commit

Permalink
More logs
Browse files Browse the repository at this point in the history
  • Loading branch information
DzmitryFomchyn committed Sep 20, 2023
1 parent db1d2e7 commit 10f19f4
Showing 1 changed file with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ class MapboxNavigationViewportDataSource(
cameraForOverview = overviewCameraOptions
)

Log.d("MapZoomingTest", "MapboxNavigationViewportDataSource.evaluate(). options: $options, resulting viewportData: $viewportData")
Log.d("MapZoomingTest", "MapboxNavigationViewportDataSource.evaluate(). resulting viewportData: $viewportData")
}

/**
Expand Down Expand Up @@ -709,6 +709,13 @@ class MapboxNavigationViewportDataSource(
}

private fun updateFollowingData(cameraState: CameraState) {
Log.d("MapZoomingTest", "MapboxNavigationViewportDataSource.updateFollowingData($cameraState). " +
"pointsToFrameOnCurrentStep: $pointsToFrameOnCurrentStep, " +
"targetLocation: $targetLocation, " +
"additionalPointsToFrameForFollowing: $additionalPointsToFrameForFollowing, " +
"pointsToFrameAfterCurrentStep: $pointsToFrameAfterCurrentStep"
)

val pointsForFollowing: MutableList<Point> = pointsToFrameOnCurrentStep.toMutableList()
val localTargetLocation = targetLocation

Expand Down Expand Up @@ -797,6 +804,12 @@ class MapboxNavigationViewportDataSource(
}

private fun updateOverviewData(cameraState: CameraState) {
Log.d("MapZoomingTest", "MapboxNavigationViewportDataSource.updateOverviewData($cameraState). " +
"simplifiedRemainingPointsOnRoute: $simplifiedRemainingPointsOnRoute, " +
"targetLocation: $targetLocation, " +
"additionalPointsToFrameForOverview: $additionalPointsToFrameForOverview"
)

val pointsForOverview = simplifiedRemainingPointsOnRoute.toMutableList()

val localTargetLocation = targetLocation
Expand Down

0 comments on commit 10f19f4

Please sign in to comment.