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
    .
    .
  • Наука та технологія

КОМЕНТАРІ • 36

  • @aabhishek4911
    @aabhishek4911 Рік тому +10

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

    • @lBOSS6
      @lBOSS6 Рік тому +2

      I always say the same. It's like remembering when i was a kid 😃

  • @user-xm1ts5dt9v
    @user-xm1ts5dt9v Рік тому

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

  • @boukarradhmoez99
    @boukarradhmoez99 Рік тому +1

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

  • @hussein9577
    @hussein9577 Рік тому +1

    Welcome back mitch

  • @oguzhanaslan494
    @oguzhanaslan494 Рік тому +1

    Neo is here ! Nice content.

  • @marcopierucci9333
    @marcopierucci9333 Рік тому

    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

  • @calebrowley7295
    @calebrowley7295 Рік тому

    Thank u legend!

  • @Kazner0h
    @Kazner0h 7 місяців тому

    Thank you for this resource, father.

  • @KIRILLINGUSS21
    @KIRILLINGUSS21 Рік тому +1

    ❤❤❤❤ many many love

  • @abdulmateench.5618
    @abdulmateench.5618 Рік тому +1

    welcome back❤

  • @yeasp
    @yeasp Рік тому +2

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

  • @steinbeats
    @steinbeats Рік тому +2

    For the algorithm 💯

  • @shankarpunati9520
    @shankarpunati9520 11 місяців тому

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

  • @kbakhal5
    @kbakhal5 Рік тому

    @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 .

  • @AjaySingh-fz6wl
    @AjaySingh-fz6wl Рік тому +1

    Sir i love to learn live with you

  • @dennismozart9512
    @dennismozart9512 6 місяців тому

    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.

  • @justoaguiar2514
    @justoaguiar2514 7 місяців тому

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

  • @musfickjamil2831
    @musfickjamil2831 Рік тому

    Please do more video Mitch

  • @Relaxwithpeter254
    @Relaxwithpeter254 2 місяці тому

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

  • @jopadjr
    @jopadjr Рік тому +1

    23rd...Thanks Mitch

  • @shehabeldinadel8531
    @shehabeldinadel8531 Рік тому

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

  • @zakishaikh2223
    @zakishaikh2223 Рік тому

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

  • @julianborrego4031
    @julianborrego4031 Рік тому

    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?

    • @meidy3795
      @meidy3795 5 місяців тому

      For safety purposes I think, so the reverse engineered apk won't show the actual API key

  • @anasfarhad2845
    @anasfarhad2845 9 місяців тому

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

  • @kangads6718
    @kangads6718 6 місяців тому

    How to make geofencing sir?

  • @EscapeePrisoner
    @EscapeePrisoner Рік тому

    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.

    • @codingwithmitch
      @codingwithmitch  Рік тому +2

      Whoops. I did know it was latitude and longitude. Not sure why I always said lat lang lol

  • @victorfernando8119
    @victorfernando8119 Рік тому +1

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

  • @kemosabi4746
    @kemosabi4746 Рік тому

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

  • @theharriator
    @theharriator Рік тому

    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 :)

  • @yonxu
    @yonxu 7 місяців тому

    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?