Skip to content

Commit

Permalink
Revert "make filed private"
Browse files Browse the repository at this point in the history
This reverts commit f38fca0
  • Loading branch information
prabhat1707 committed Dec 8, 2021
1 parent f38fca0 commit a021c16
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,21 +204,21 @@ internal class MapAnimator {
/**
* This will be invoked by the ObjectAnimator multiple times. Mostly every 16ms.
*/
private fun setRouteIncreaseForward(endLatLng: LatLng) {
fun setRouteIncreaseForward(endLatLng: LatLng) {
val foregroundPoints = foregroundPolyline!!.points
foregroundPoints.add(endLatLng)
foregroundPolyline!!.points = foregroundPoints
}

private fun getFor():Polyline{
fun getFor():Polyline{
foregroundPolyline?.let {
return it;
}?:run{
throw Exception("Please initiate polyline before calling this.")
}
}

private fun getBck():Polyline{
fun getBck():Polyline{
backgroundPolyline?.let {
return it;
}?:run{
Expand Down

0 comments on commit a021c16

Please sign in to comment.