WEBVTT

00:00.120 --> 00:02.640
Hello developers, and welcome back.

00:02.920 --> 00:06.880
In this course we're going to learn about Google Maps.

00:07.120 --> 00:11.160
This is a very interesting thing in Android applications.

00:11.320 --> 00:18.400
This course teaches you how to integrate and customize Google Maps in Android applications.

00:18.400 --> 00:25.880
You'll learn how to display maps, add markers, handle user interactions, implement location tracking,

00:25.880 --> 00:27.720
and optimize performance.

00:27.880 --> 00:37.120
By the end of this course, you'll be able to build dynamic map based applications with modern Android

00:37.120 --> 00:38.960
development practices.

00:38.960 --> 00:48.200
Imagine building apps that show real time directions, track deliveries, or help users explore the

00:48.200 --> 00:52.320
world, all with just a few lines of code.

00:52.360 --> 00:55.480
How with Google Maps in Android.

00:55.640 --> 01:02.720
Welcome to the first video in our Google Maps with Jetpack Compose course.

01:02.760 --> 01:13.080
In today's video, we'll uncover why Google Maps is a game changer for Android developers and how you

01:13.080 --> 01:14.520
can master it.

01:14.560 --> 01:25.440
Google maps is more than just an app, it's a powerful SDK that lets you embed interactive maps, location

01:25.440 --> 01:31.440
tracking, and geospatial features into your own Android apps.

01:31.480 --> 01:39.480
Whether you are building a ride hailing service, a travel guide, or a fitness tracker, Google Maps

01:39.480 --> 01:43.200
provides the tools to make it happen.

01:43.240 --> 01:51.920
Google maps allow developers to integrate interactive maps into their Android applications using the

01:51.960 --> 01:54.720
Google Maps SDK for Android.

01:54.760 --> 02:03.880
This SDK provides tools for displaying maps, adding markers, handling gestures and drawing routes,

02:04.000 --> 02:06.760
polygons, and other overlays.

02:06.800 --> 02:12.160
Google maps provides interactive maps with zoom, pan and tilt.

02:12.320 --> 02:19.640
This is called the interactive maps zoom, pan, pan and 3D tilting markers.

02:19.640 --> 02:21.680
Polylines shapes.

02:21.680 --> 02:30.160
For location based applications, this is markers and shapes, location tracking and geocoding, changing

02:30.160 --> 02:37.920
from address to coordinates and vice versa, and GPS tracking and geocoding and street view directions,

02:37.920 --> 02:41.760
API and places API routes and navigation.

02:41.880 --> 02:50.160
In this course, you're going to start from scratch and gradually unlock the full potential of Google

02:50.160 --> 02:50.880
Maps.

02:50.920 --> 02:54.720
We're going to display and customize maps in compose.

02:54.750 --> 02:59.030
adding markers, polylines and user interactions.

02:59.150 --> 03:02.750
Fetching live location and geocoding addresses.

03:02.950 --> 03:07.830
And advanced features like clustering, offline maps and the places API.

03:08.030 --> 03:13.190
So there are a lot of things you can get from Google.

03:13.190 --> 03:22.950
So Google Maps provides a suite of APIs, application programming interfaces that let you embed, display

03:22.950 --> 03:29.430
and interact with maps and location data in your Android app or web back end systems.

03:29.710 --> 03:33.350
These APIs are part of the Google Maps platform.

03:33.390 --> 03:42.870
We have the maps SDK, which is the maps API used to display maps and lets interact with the map.

03:42.870 --> 03:50.190
So the Google Maps SDK for Android embeds interactive maps in Android applications.

03:50.230 --> 03:59.710
Customize with markers Polylines overlays, supports, gestures, camera movement and styling.

03:59.750 --> 04:03.190
Returning a static, non-interactive image of a map.

04:03.230 --> 04:05.550
Good for thumbnail printables.

04:05.590 --> 04:09.310
This is the maps static API and Map Tiles API.

04:09.350 --> 04:10.110
Advanced use.

04:10.150 --> 04:13.070
Access base map tiles directly.

04:13.110 --> 04:22.590
The second API is the places API provides details about geographical locations, including search and

04:22.590 --> 04:23.750
autocomplete.

04:23.750 --> 04:25.670
Search for places.

04:25.670 --> 04:28.670
For example restaurants or stores.

04:28.710 --> 04:36.550
Place autocomplete for search suggestions, retrieve place details, name, address coordinates and

04:36.550 --> 04:40.430
get place photos and the geocoding API.

04:40.750 --> 04:49.830
Convert addresses latitude to longitude and latitude, longitude to addresses and addresses to latitude

04:49.830 --> 04:51.670
longitude and vice versa.

04:51.710 --> 04:56.830
Also, we can get the device location using Wi-Fi and cell data without GPS.

04:57.070 --> 05:02.230
The directions API get directions between locations.

05:02.230 --> 05:05.390
Supports multiple travel modes.

05:05.390 --> 05:06.150
Driving.

05:06.150 --> 05:07.910
Walking, cycling.

05:08.310 --> 05:13.710
Transit includes turn by turn steps, duration and distance.

05:13.750 --> 05:18.830
Get travel time and distance between multiple origins and destinations.

05:18.990 --> 05:24.390
Good for comparing routes or ETA calculations.

05:24.590 --> 05:32.190
The time the expected time to arrive replaces directions API in newer versions with more features like

05:32.230 --> 05:37.070
traffic aware routing, toll costs, and route modifiers.

05:37.350 --> 05:43.030
Okay, there are a lot of things we can do in in Google Maps.

05:43.310 --> 05:45.550
It's a very interesting thing.

05:45.750 --> 05:53.950
So I for this purpose I made this course and make this those sections because this are very important

05:53.950 --> 05:54.750
things.

05:54.750 --> 06:01.790
So in order to display a map in Android, we use map SDK for Android, show current location maps SDK

06:01.790 --> 06:10.030
plus location services, add search autocomplete for places SDK for Android, convert addresses to coordinates.

06:10.030 --> 06:11.830
We use geocoding API.

06:12.070 --> 06:14.310
Get directions between two points.

06:14.430 --> 06:16.110
We use directions API.

06:16.310 --> 06:19.030
Calculate distance between many points.

06:19.070 --> 06:20.710
Distance matrix API.

06:21.310 --> 06:26.670
Find elevation of a trail elevation API and the other APIs.

06:26.710 --> 06:35.790
Okay, we are interesting in building and get get the most of services, the most of Google Maps services

06:35.790 --> 06:44.430
in order to make our application looks more professional and learn how to use those services regarding

06:44.430 --> 06:53.780
the authentication and billing all APIs require a Google Cloud project with billing enabled, you'll

06:53.780 --> 07:00.460
need to generate an API key and restrict it properly by app or referrer.

07:00.500 --> 07:06.500
Some APIs are free up to a quota then billed per use.

07:06.540 --> 07:09.380
Okay, these are very important notes.

07:09.420 --> 07:14.460
We will start by adding and creating Google accounts and add the credit card.

07:14.460 --> 07:16.980
But don't worry, you will not be billed.

07:16.980 --> 07:21.980
You will not pay anything until you reach a specific quota.

07:22.020 --> 07:24.660
Okay, so please pay attention.

07:24.660 --> 07:30.420
Some APIs are free up to a quota then billed per use.

07:30.660 --> 07:35.860
Okay, this is our, uh, introduction to Google Maps course.

07:35.860 --> 07:38.740
And let's start navigation.

07:38.740 --> 07:46.220
Let's start navigating between codes and between streets in Google Maps course.
