oligazar
6/2/2018 - 3:54 AM

IOs maps

let coordinate = CLLocationCoordinate2DMake(9.57388749999999, 99.98702734374999)
            let mapItem = MKMapItem(placemark: MKPlacemark(coordinate: coordinate, addressDictionary: nil))
            mapItem.name = "Destination/Target Address or Name"
            mapItem.openInMaps(launchOptions: [MKLaunchOptionsDirectionsModeKey : MKLaunchOptionsDirectionsModeDriving])