Hello and welcome back.
In this video, I'm going to show you a very interesting and very exciting thing for Google Maps.
I'm going to customize and style my map.
Yes, you heard it right.
Instead of hybrid normal satellite map types that Google, uh, provide you, you can create your custom
map style.
Let's start.
Open your browser, go to Map Style with google.com, and you get this website cloud based maps styling.
You can go to the cloud console and you can learn more or use legacy JSON Styling Wizard.
Click on it and here we append this map.
This is the standard map styling which is here okay.
So I want from you to focus with me.
You can from the left left adjust Density of features like roads, you can decrease the roads, keep
the main roads and keep it like this.
Okay, you can remove all the roads, keep the main roads or add the secondary roads.
And here you can add many roads.
Okay.
So I'll keep the main roads.
So I'm styling the new map for us here.
I'm making the new style with the main roads to the left.
Also we have the landmarks.
So I'll show you guys.
Let me take Seattle.
And here you can decrease the landmarks.
You notice we remove the Madrona Park if we remove also other landmarks.
Also, if you want, you can remove all the landmarks.
I don't need anything.
And also you can remove the labels like this.
This.
And you can remove all the labels.
I'll keep the main labels.
Okay.
So keep the main labels.
The main roads and remove all landmarks.
Okay.
Also you can customize the color of your map.
You can set it to silver.
You can set it to retro.
You can use dark.
You can use night.
You can use aubergine and so on.
Okay.
I like to use retro, retro and retrofit of course, retro color.
Also, there are a lot of options.
You can click here for more options.
You can customize all.
You can customize administrative.
You can select the country.
Select the country.
For example here, if you scroll up zoom out, you can select for example, the country Fill.
Set the fill to yellow.
You can make it as hidden.
You can make it as shown, simplified and so on.
Okay.
The stroke.
You can set it to shown like this.
So I'll make it shown and make the color blue.
Okay.
And here you can see the borders are in blue like this.
Uh, you can set the labels, the text.
For example, you can set the text uh, in red.
So here I'm styling and like let me make it as shown and simplified.
Simplified is good.
You can notice that the color of the countries the name of countries are in red and in blue.
Okay.
We have the weight.
You can increase the weight like this, increase the weight and so on.
But I don't need it.
Text fill.
You can set that.
It is a Simplified for the text fields, for the labels, the icons you can add icons and so on.
Okay, this is for the country.
The province, for example, the province here in India you can make it uh, like stroke.
Let me color them in green.
It's good.
And set it as simplified color.
Okay.
This is the province okay.
Now you can set the locality.
For example stroke set the color in.
You can remove the province for example to add locality like fill simplified and so on okay this is
good.
Now you can customize the landscape.
You can customize the point of interest like attraction business, government, medical park, schools,
place of worship and sports complex.
You can customize the roads, you can customize the transit, local highways and so on.
Okay.
So you can customize the water, for example, and others as you want.
Okay.
This is the main purpose of this website making our map customized.
We use the retrofit the retro color and we we customized the the borders.
We customized many things.
Okay.
This is the main purpose of this map.
The last thing we need to mention here, when you click finish you will get a JSON format code.
Copy the JSON, copy this.
And here we need to create in uh for example the notepad.
You can paste it in the notepad like this to save it okay.
Now go to the rest folder.
Create a new Android resource folder directory, name it as row and select the resource type which is
row.
Click okay and inside this row create a new and inside this row folder you can open it open in explorer.
And here create a new text document named as True Style.
Paste the code, the JSON code, then save as and make it as retro style dot JSON.
Select all files and click save.
Here we created our JSON file called Retro underscore style dot JSON and go to Android Studio.
You can see that it is a retro style dot JSON file.
Here we created our map style like this.
And we import this style inside the row folder of Android Studio.
In the next video, we're gonna continue with this map styling and let's apply this style to.