So it's time for us to make sure that when the users click each one of these quakes they were taken
to a detailed page.
While we should know how to do by now.
So let's go back to our views.
In fact we're going to go to our content view.
This is where everything happens.
So right there give more space there.
So right here where everything is happening we're calling our cell row.
Well what are we gonna do is we're going to include everything.
Actually the whole list.
We're gonna include it inside of a navigation view something navigation view.
There it is.
And I'm going to add it there.
Let's see.
Make sure there we go.
So navigation view is all inside there so I'm going to save and run.
We should see of course that now we have a little gap at the top.
We should have at least said there we go.
There's that gap there.
Next inside of row here we're going to add the actual navigation link which allows us to move to the
next screen.
So navigation link such is going to and right about here.
But I need to pass something I should know by now.
So here going to pass a destination destination.
For now I'm just gonna put a text and I'm going to say data that properties and I'm going to say hello
for now.
OK.
Analysts make sure that we don't have any of that will need to pass any of these either.
Very good.
So I save and give it a run real quick.
Should be able now to see something different here and while you can see we have our click.
There we go back.
Very good.
So we can also add a title for our navigation here.
So right in the enclosing of our navigation link we're going to say dot navigation bar title and it's
going to be just a string.
We'll just call these quakes.
Very good.
Going to run this
case click on this one says hello.
But you can see we have the quakes as a navigation bar title there.
So you know by now that this is actually not the actual end goal here at the end goal is actually have
a quake.
Details page.
So when I say quake details such and I'm gonna be passing data like that.
So we haven't created this.
Of course I'm gonna come down here and create it ourselves.
Let's go back to our view here.
I'm going to create a new file safety UI.
Quick details like this and voila.
So get rid of that.
We don't need that.
OK.
So quakes.
Details here what are we gonna be doing.
Let's close this one down.
First of all we need the data.
Some would say var data is going to be features because we need to get to the information we want.
So here inside for now what I'm going to do I'm just gonna go ahead and pass a text.
So let's start with a V stack because that's what's required really.
And that's a text.
Let's say data that properties I want to place.
Okay.
That's what we need for now.
Save this and give it a run we should be able to actually see the place that we are clicking.
So let's see.
This is San Antonio.
Click and there go.
San Antonio Puerto Rico and Chile.
Very good.
Good.
So it's working perfectly.
So our angle here is when we click each one of these earthquakes is we want to show a full fledged map
here with a marker on the place or the region where this earthquake occurred.
The reason why we're able to do that again is because if we go back to our payload here or Jason you'd
notice that we have the geometry object which contains an array of coordinates and we can get those
coordinates and show ID marker in our map.
OK.
So that is the ultimate goal we're going to be doing in the next video.