-
Install :
pod 'GoogleMaps'
-
In App delegate add & Define your google map key
import GoogleMaps
let googleApiKey = "your_key"
-
In App delegate in method didFinishLaunchingWithOptions add :
GMSServices.provideAPIKey(googleApiKey)
-
In your viewController Inherit :
CLLocationManagerDelegate
GMSMapViewDelegate
-
In Storybored add to your map view class
GMSMapView
-
Check code in githup