MapManager (Swift) for iOS

Map manager is a MapKit wrapper to provide route direction drawing written entirely in Swift

1) Closure support

2) Get directions using Apple service

3) Get directions using Google service


var origin = "Toronto"

var destination = "Montreal"

mapManager.directionsUsingGoogle(from: origin, to: destination) { (route, directionInformation, boundingRegion, error) -> () in

if(error != nil){


    if let map = self.mapView?{

        dispatch_async(dispatch_get_main_queue()) {
            map.setVisibleMapRect(boundingRegion!, animated: true)


Sponsored with ❤️ by Instabug
Instabug: Understand how your app is doing with real-time contextual insights from your users

Get all the logs you need and fix bugs, crashes, and other issues in minutes instead of days. With Instabug you will automatically receive device data, network logs, and reproduction steps with every bug and crash report. It only takes a line of code to integrate and is perfect for teams that are now working remotely. See more detailed features comparison and try Instabug for free here.