How googlemaps-samples/maps-sdk-for-ios-samples works
This repository is a collection of iOS sample applications and documentation snippets for Google Maps Platform SDKs, rather than a standalone service. The main workflow is a developer opening a demo, choosing a sample, and viewing SDK usage; the Maps samples also include a SwiftUI wrapper. Separate sample areas cover Maps, Places, Navigation, and reusable snippets. The README documents these product areas, while the excerpts show sample selection and configuration behavior. Most individual demo screens are unsampled, so links to them are not inferred.
Main entry points: Swift/SampleListViewController.swift Places browser · Swift/SampleListViewController.swift Sample browser · Swift/SampleListViewController.swift Navigation browser · GoogleMaps_SwiftUIApp.swift SwiftUI sample app
Components 17
Maps demos
- Sample browser
GoogleMaps-Swift/GoogleMapsSwiftDemos/Swift/SampleListViewController.swift - Maps samples
GoogleMaps/GoogleMapsDemos - Beta map samples
GoogleMaps/GoogleMapsDemos/BetaSamples
Places demos
- Places browser
GooglePlaces-Swift/GooglePlacesSwiftDemos/Swift/SampleListViewController.swift - Autocomplete configuration
GooglePlaces-Swift/GooglePlacesSwiftDemos/Swift/ConfigurationViewController.swift - Places samples
GooglePlaces/GooglePlacesDemos
Navigation demos
- Navigation browser
GoogleNavigation-Swift/GoogleNavSwiftXCFrameworkDemos/Swift/SampleListViewController.swift - CarPlay integration
GoogleNavigation/GoogleNavXCFrameworkDemos/CarPlay
Documentation snippets
- Maps snippets
snippets/MapsSnippets/MapsSnippets/Swift - Maps utility snippets
snippets/MapsUtilsSnippets/MapsUtilsSnippets/Swift - Beta snippets
snippets/MapsBetaSnippets/MapsBetaSnippets/Swift - Places snippets
snippets/PlacesSnippets/PlacesSnippets/Swift
SwiftUI integration
- SwiftUI sample app
GoogleMaps-SwiftUI/GoogleMaps-SwiftUI/GoogleMaps_SwiftUIApp.swift - Declarative map view
GoogleMaps-SwiftUI/GoogleMaps-SwiftUI/GoogleMapView/GoogleMapView.swift - Map interaction delegate
GoogleMaps-SwiftUI/GoogleMaps-SwiftUI/GoogleMapView/GoogleMapViewDelegate.swift - Map example dialog
GoogleMaps-SwiftUI/GoogleMaps-SwiftUI/Dialog/Dialog.swift
Other components
- Developer
Connections 12
- Developer → Sample browser: opens demo
README.md - Developer → Places browser: opens demo
README.md - Developer → Navigation browser: opens demo
README.md - Developer → SwiftUI sample app: opens sample
README.md - Developer → Maps snippets: consults snippets
README.md - Developer → Places snippets: consults snippets
README.md - Sample browser → Maps samples: presents sample
- Places browser → Autocomplete configuration: presents settings
GooglePlaces-Swift/GooglePlacesSwiftDemos/Swift/SampleListViewController.swift - Places browser → Places samples: launches sample
- Navigation browser → CarPlay integration: launches sample
- SwiftUI sample app → Declarative map view: uses map view
- Declarative map view → Map interaction delegate: delegates events
GoogleMaps-SwiftUI/GoogleMaps-SwiftUI/GoogleMapView/GoogleMapView.swift