Welcome back.
Let's make some changes to our application.
Here we have the route.
The route to similar fabs I need to change the name of them.
So go to expandable fabs.
Scroll down draw multi route.
This is good.
Now we have the last fab which is the clear route.
We need to add the functionality to it.
So here let me add on clear route.
Or you can use unclear map.
Name it as clear map.
And this is good.
In the multi route you can set the icons.
For example this build add multi markers.
You can use this icon location in order to refer for the markers.
And this is good.
Now let's pass here on clear map.
Also a lambda expression taking nothing and returning nothing.
Go back to Uber clone map.
Let's add unclear map functionality.
View model dot clear route.
We're going to create it in the next couple of minutes and multiple markers list dot clear.
Here we are clearing the list of multiple markers and removing all markers here.
Um, also the marker position dot clear or set it to null.
Okay, now move to the map view model here.
Create clear route.
The route points value equals to empty list.
Multi route points value.
Empty list.
Also the selected location dot value equals to null.
Run the application.
Let's test our application.
Go to here.
And this is better.
The icons.
Let me start with a request A ride.
I need to go to Bolivia from Argentina.
Drew route and here we go.
Let me draw multi markers in from here to here and make sure to select draw multi route.
And congratulations guys.
This is a perfect app I love it guys.
So um I love to make things like this okay.
Let me check the clear map.
And here we go.
Congratulations guys.
This is um a very important.
And I'm happy to create such an application.