WEBVTT

00:00.080 --> 00:01.040
Welcome back.

00:01.040 --> 00:03.040
Let's continue with dependencies.

00:03.040 --> 00:08.280
And in this video we're going to add Google Maps Platform SDK to our application.

00:08.280 --> 00:14.960
So Google Maps Platform is a set of APIs and SDKs for retrieving location based data from Google, and

00:14.960 --> 00:19.360
embedding Google Maps imagery into mobile apps and web pages.

00:19.360 --> 00:28.040
Go to GitHub.com Google Maps, or you can go to google.com and search for Android SDK.

00:28.080 --> 00:36.000
From here you can go to the documentations, search for maps SDK for Android and you will be guided

00:36.040 --> 00:40.720
to the SDK implementation, but I prefer using this.

00:40.760 --> 00:48.040
Click repositories, search for compose and you'll get Android places.

00:48.040 --> 00:57.360
Compose and Android maps, compose, select Android maps, dash compose, scroll down and here copy

00:57.400 --> 00:58.600
this dependency.

00:58.720 --> 01:06.000
Or if you are following me, I use the same implementation as in the previous videos, so you can directly

01:06.000 --> 01:08.240
implement this okay.

01:08.670 --> 01:16.830
And you can replace it with a new library declaration, but I prefer using this in order to prevent

01:16.830 --> 01:19.150
any errors and misunderstand.

01:19.350 --> 01:19.870
Okay.

01:20.030 --> 01:21.990
This is the first library.

01:22.070 --> 01:26.550
The second library we're going to add is implementation

01:26.710 --> 01:31.230
com.google.android.com

01:31.990 --> 01:34.270
means Google Maps services.

01:34.550 --> 01:40.990
And we need to add place or play dash services location.

01:40.990 --> 01:47.190
We need to get the location and display it for the current location of the user.

01:47.230 --> 01:47.710
Okay.

01:47.990 --> 01:51.590
So let me change it to 21 .3.0.

01:51.710 --> 01:57.750
Also, you can replace it with a new library declaration, but I can use it like this.

01:58.190 --> 02:02.590
This implementation is for Google Maps current location.

02:02.590 --> 02:07.390
And okay, then we need another implementation.

02:07.510 --> 02:10.950
If we remember we have clustering.

02:10.950 --> 02:17.780
This is the library for clustering and this is for the scale bar I can include the scale bar for our

02:17.780 --> 02:18.620
applications.

02:18.620 --> 02:20.860
So let me copy this.

02:20.900 --> 02:22.740
Widgets and utils.

02:22.740 --> 02:29.140
Utils will be needed to decode and convert polylines string into lat long points.

02:29.420 --> 02:33.460
So here implementation for compose widgets.

02:33.660 --> 02:36.900
And let's add the utils okay.

02:37.140 --> 02:42.380
Those libraries we talked about uh about them in the previous videos.

02:42.380 --> 02:49.740
Also, we're gonna learn in this application how to use the location services and how to retrieve the

02:49.740 --> 02:52.540
current position and work with the current location.

02:52.580 --> 02:53.020
Okay.

02:53.220 --> 02:57.500
But we worked a lot with the previous examples.

02:57.500 --> 03:04.300
In the next videos, we're gonna add the places API from Google Maps.

03:04.300 --> 03:13.060
So here I'll skip it now because when we need to implement it, I'm I will lecture about it and make

03:13.100 --> 03:17.900
a quick recap about it and then implement it.

03:17.900 --> 03:18.340
Okay.

03:18.380 --> 03:21.900
So I'll skip the places API implementation for now.

03:22.100 --> 03:24.780
So we are ready sync now.
