 
     func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {
         // Use last coord: we want to display where the user is now.
-        if let coord = locations.last?.coordinate {
+        if let location = locations.last {
+            let coord = location.coordinate
             // Offset center to display user's location below place cards.
             let center = CLLocationCoordinate2D(latitude: coord.latitude + MAP_LATITUDE_OFFSET, longitude: coord.longitude)
             let span = MKCoordinateSpan(latitudeDelta: MAP_SPAN_DELTA, longitudeDelta: 0.0)

import UIKit
import MapKit
import QuartzCore

private let MAP_SPAN_DELTA = 0.05
private let MAP_LATITUDE_OFFSET = 0.015

class PlaceCarouselViewController: UIViewController {


                }
                once = true
            }
            
            #if (arch(i386) || arch(x86_64))
                let geocoder = CLGeocoder()
                geocoder.reverseGeocodeLocation(location) { placemarks, error in
                    if let placemark = placemarks?.first {
                        DispatchQueue.main.async() {
                            self.sunriseSet = EDSunriseSet(timezone: placemark.timeZone, latitude: coord.latitude, longitude: coord.longitude)
                        }
                    }
                }
            #else
                sunriseSet = EDSunriseSet(timezone: NSTimeZone.local, latitude: coord.latitude, longitude: coord.longitude)
            #endif
        }
    }

