Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Integrating Google Maps in a Jetpack Compose Ap...

Integrating Google Maps in a Jetpack Compose App (By: Tauheed Ali) - DevFest Lahore 2024

Talk by Tauheed Ali (https://www.linkedin.com/in/tauheed007/) at DevFest Lahore 2024 by GDG Lahore.

GDG Lahore

December 15, 2024
Tweet

More Decks by GDG Lahore

Other Decks in Programming

Transcript

  1. Google Map in Android using Jetpack Compose Lahore M Tauheed

    Ali Senior Android Developer (Saigon Tech Singapore)
  2. Why We Need. • Location Search: Helps users find places

    like restaurants, gas stations, hospitals, etc. • Real-Time Traffic Updates: Offers live traffic data to avoid congestion and optimize travel routes. • Exploration: Allows users to explore nearby attractions, businesses, and services. • Travel Planning: Provides information on distance, estimated travel time, and multi-modal transit options. • Geocoding and Address Search: Converts addresses into geographical coordinates for mapping. • Business Integration: Enhances apps and websites by embedding maps for location-based services.
  3. Use Case :. Popular Apps Using Google Maps API 1.

    Uber ◦ Use Case: ▪ Maps for ride-hailing and routing services. 2. Lyft ◦ Use Case: ▪ Driver and passenger location tracking.drivers. 3. Zomato ◦ Use Case:. ▪ Delivery tracking and route optimization. 4. Swiggy ◦ Use Case:. ▪ Real-time location tracking for deliveries.
  4. More Parameters @Composable fun Marker( state: MarkerState, title: String? =

    null, snippet: String? = null, draggable: Boolean = false, visible: Boolean = true, flat: Boolean = false, rotation: Float = 0f, icon: BitmapDescriptor? = null, anchor: Offset = Offset(0.5f, 1f), onClick: (Marker) -> Boolean = { false } )
  5. More Parameters @Composable fun Marker( state: MarkerState, title: String? =

    null, snippet: String? = null, draggable: Boolean = false, visible: Boolean = true, flat: Boolean = false, rotation: Float = 0f, icon: BitmapDescriptor? = null, onClick: (Marker) -> Boolean = { false } )
  6. Resources: • Maps Compose Library | Maps SDK for Android

    | Google for Developers • How to Use Google Maps in Jetpack Compose: Step-by-Step Android Guide | by Rıdvan Özcan | Medium