Android Google Maps with Jetpack Compose 2023
Вставка
- Опубліковано 28 гру 2022
- The BEST android courses in the world: codingwithmitch.com/
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.
Code: github.com/mitchtabian/Google...
Social:
/ mitch_tabian
/ codingwithmitch
.
. - Наука та технологія
Wow , its almost nostalgic watching a video from you mitch , welcome back
I always say the same. It's like remembering when i was a kid 😃
It's the ultimate guide of google map sdk for compose. Without this guide, one would get frustrated.
Thank you so much!
Mitch Thnx for the video ,
Please we need more videos ur the best
Welcome back mitch
Neo is here ! Nice content.
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
Thank u legend!
Thank you for this resource, father.
❤❤❤❤ many many love
welcome back❤
Please do video on map box for jetpack compose
Lots of love from India bro😍😍🤩🤩🤩🤩
For the algorithm 💯
can we add 3d markers on to the map(from google maps sdk) ..if so can you make a video about it
@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 .
Sir i love to learn live with you
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.
Can these clusters behave like geofences, on events like entering, dwelling and exiting?
Please do more video Mitch
Hello, how can i draw those clusters or muitlpolygone in android osm android library
23rd...Thanks Mitch
Do I have to add my credit card details? Isn't there any other alternatives?
Hey mitch, can you please guide us how to get Android development internships as beginner at big tech companies, thank you
Maybe
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?
For safety purposes I think, so the reverse engineered apk won't show the actual API key
Hey there Android devs,
I do not see map on my screen, can I get a quick response in this regard?
How to make geofencing sir?
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.
Whoops. I did know it was latitude and longitude. Not sure why I always said lat lang lol
I Hate it the google job in Android Studio! I'm learning and just make a inferno in my life!
Nice to see you again Mitch :) Seems like you gain weight
Working on that dad bod 😉
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 :)
Maplibre
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 = 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?