import UIKit import GoogleMaps class WidgetViewController: UIViewController { @IBOutlet weak var mapView: GMSMapView! override func viewDidLoad() { super.viewDidLoad() // Configure the map view mapView.isMyLocationEnabled = true mapView.mapType = .standard // Set the center of the map let currentLocation = CLLocationCoordinate2D(latitude: 37.7828, longitude: -122.4194) mapView.camera = GMSCameraPosition(target: currentLocation, zoom: 15) } }