In Google Maps, you can switch between different map types normal, satellite, hybrid, and terrain.
To change how the map is displayed in this video, we're going to learn how to implement this functionality.
Google maps provides these main types the normal default road map view satellite.
Photographic satellite imagery.
Hybrid satellite imagery with roads and labels.
Terrain topographic data with colors and contour lines.
Let's start with the normal, which is the default.
Start with var map type if by.
Remember mutable state of map type dot normal alt plus.
Enter to import operator state dot get value and alt plus enter to import the mutable state dot set
value here inside the Google map.
Composable function.
In order to control the map type, we need to set inside the properties here.
Properties.
Parameter map properties.
Set the map type equals to my map type.
If hover the mouse or Ctrl and left click we have those parameters of the map properties is building
enabled indoor enabled.
Location enabled.
Traffic enabled.
Net long bounce from camera, target map style options map type, maximum zoom preference and minimum
zoom preference.
Okay, we need the map type.
Let me run.
This is the map type which is normal and this is the default.
Let me choose another type.
Set it to hybrid or set it to terrain then run again.
Notice we have terrains displayed.
Also, if we choose to set it to satellite run again, we have the satellite view of Singapore.
Okay this is the satellite.
We can use hybrid.
You can notice that mixing of roads and the hybrid the satellite view and the terrain view.
Okay.
Those are the types different types of maps in Google Maps.