Skip to content

Latest commit

 

History

History
30 lines (17 loc) · 1.42 KB

README.md

File metadata and controls

30 lines (17 loc) · 1.42 KB

📲 Integrating Maps Into Your Apps

License: MIT GitHub contributors Open Source Love png1 saythanks

ForTheBadge built-with-love

forthebadge

image title

// Brooklyn Bridge coordinates -> 40.706606, -73.996746
        
        let latitude: CLLocationDegrees = 40.706606
        
        let longitude: CLLocationDegrees = -73.996746
        
        let lanDelta: CLLocationDegrees = 0.05
        
        let lonDelta: CLLocationDegrees = 0.05
        
        let span = MKCoordinateSpan(latitudeDelta: lanDelta, longitudeDelta: lonDelta)
        
        let coordinates = CLLocationCoordinate2D(latitude: latitude, longitude: longitude)
        
        let region = MKCoordinateRegion(center: coordinates, span: span)
        
        map.setRegion(region, animated: true)