Android Google Maps with Jetpack Compose 2023

preview_player
Показать описание

What's in this video
1. How to set up the google maps SDK for android
2. Using Google maps SDK with Jetpack Compose
3. Adding clusters to your map.
4. Adding polygons to your map.
5. Adding markers that are clickable and display information.
6. Showing your location.
7. Asking permission to show your location.
8. I wrote a little algorithm to center the camera based on all the markers/polygons on the map.

Social:
.
.
Рекомендации по теме
Комментарии
Автор

Wow, its almost nostalgic watching a video from you mitch, welcome back

aabhishek
Автор

It's the ultimate guide of google map sdk for compose. Without this guide, one would get frustrated.
Thank you so much!

도둘리-ik
Автор

Mitch Thnx for the video,
Please we need more videos ur the best <3

boukarradhmoez
Автор

Please do video on map box for jetpack compose
Lots of love from India bro😍😍🤩🤩🤩🤩

yeasp
Автор

Can these clusters behave like geofences, on events like entering, dwelling and exiting?

justoaguiar
Автор

Hello, how can i draw those clusters or muitlpolygone in android osm android library

Relaxwithpeter
Автор

Whats vars dy, dx, yT, yB, xR and xL from `calculateCameraViewPoints` ? (Like What the D, T, B, R and L stands for on those variable naming conventions? ) Trying to understand the center logic.

dennismozart
Автор

Hey there Android devs,
I do not see map on my screen, can I get a quick response in this regard?

anasfarhad
Автор

@Mitch: Is there is any way to create project KMP using jetpack library rather than jetpack compose. There is no setting while creating project of KMP. It is by default creating project using jetpack compose library. There should be a option to do so while creating project of KMP .

kbakhal
Автор

can we add 3d markers on to the map(from google maps sdk) ..if so can you make a video about it

shankarpunati
Автор

Why do they suggest putting the api key in the local gradle file? Wouldnt this require every dev working on the project to manually add the key?

julianborrego
Автор

Great video! But do you have one explaining you initial integration with maps and compose ( Before map compose was released) . I have to integrate a map sdk with similar aspects to maps and it does not have a composable equivalent

marcopierucci
Автор

Do I have to add my credit card details? Isn't there any other alternatives?

shehabeldinadel
Автор

I'm so sorry for correcting you here. You keep saying "lat lang". But it's actually lat long. As in Lattitude and Longitude. Those being the names of the navigation variables in use for centuries. May I recommend orienteering as a great way to learn about maps and navigation. No doubt there is a club near you. <3

EscapeePrisoner
Автор

Hey mitch, can you please guide us how to get Android development internships as beginner at big tech companies, thank you

zakishaikh
Автор

I Hate it the google job in Android Studio! I'm learning and just make a inferno in my life!

victorfernando
Автор

Hi, thanks for the video. I have learnt a lot. I have a question. Could you advise how to get a snapshot (image) of a location?
I tried to do something like this but for some reason the image is not showing.
```
val mapBitmap: MutableState<Bitmap?> = remember { mutableStateOf(null) }
...
if (mapBitmap.value != null) {
Image(
bitmap = mapBitmap.value!!.asImageBitmap(),
contentDescription = "Map snapshot",
)
}
...
// get snapshot bitmap
GoogleMap {
MapEffect { map ->
map.snapshot { snapshot ->
// Got snapshot here
mapBitmap.value = it
}
}
}
...
```
Any ideas?

yonxu
Автор

is there a way to use maps with android studio without having to pay for it? I want to use it for a university project. If not do you know any free alternatives? Thanks :)

theharriator
Автор

Nice to see you again Mitch :) Seems like you gain weight

kemosabi
welcome to shbcf.ru