 import Foundation
 import MapKit
 
-enum ASMapApp : String {
+public enum ASMapApp : String {
     case ASMapAppAppleMaps = "Apple Maps",
     ASMapAppHEREMaps = "HERE Maps",
     ASMapAppGoogleMaps = "Google Maps",

        }
    }
    
    func urlPrefixForMapApp(mapApp: ASMapApp) -> String {
        switch(mapApp) {
        case .ASMapAppHEREMaps:
            return "here-route://"

        return UIApplication.sharedApplication().canOpenURL(NSURL(string: urlPrefix)!)
    }

    public func launchMapApp(mapApp: ASMapApp, fromDirections: ASMapPoint!, toDirection: ASMapPoint!) -> Bool {
        if !isMapAppInstalled(mapApp) {
            return false
        }
