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:

  1. Get a Maps API key
  2. Add an entry in local.properties or local.defaults.properties that looks like MAPS_API_KEY=YOUR_MAPS_KEY
  3. Build and run

Examples

BasicMarkerPolyline
PolygonCircleGround Overlay
Tile OverlayIndoor LevelLite Map
Place PickerNavigation ViewerProjection
ClusterHeat MapKML
GeoJSONScaleBarSnapshot
Map in scrollable viewCompose Map In XML