Google Maps
August 13, 2024 ยท View on GitHub
Integrating Google Maps in Jetpack Compose involves using the GoogleMap composable to embed and interact with Google Maps within your app, allowing for features like map display, markers, and custom map controls.
Setup (For Google Map Implementation)
To run the google map samples, you'll have to:
- Get a Maps API key
- Add an entry in
local.propertiesorlocal.defaults.propertiesthat looks likeMAPS_API_KEY=YOUR_MAPS_KEY - Build and run
Examples
| Basic | Marker | Polyline |
|---|---|---|
![]() | ![]() | ![]() |
| Polygon | Circle | Ground Overlay |
|---|---|---|
![]() | ![]() | ![]() |
| Tile Overlay | Indoor Level | Lite Map |
|---|---|---|
![]() | ![]() | ![]() |
| Place Picker | Navigation Viewer | Projection |
|---|---|---|
![]() | ![]() | ![]() |
| Cluster | Heat Map | KML |
|---|---|---|
![]() | ![]() | ![]() |
| GeoJSON | ScaleBar | Snapshot |
|---|---|---|
![]() | ![]() | ![]() |
| Map in scrollable view | Compose Map In XML |
|---|---|
![]() | ![]() |



















