 				// Prepare the base URL parameters with provided arguments
 				var params = PXGoogleDirections.handleGoogleMapsURL(center: center, mapMode: mapMode, view: view, zoom: zoom)
 				// Add origin and destination
-				params.append("saddr=\(f)")
-				params.append("daddr=\(t)")
+				params.append("saddr=\(f.description.stringByAddingPercentEscapesUsingEncoding(NSUTF8StringEncoding)!)")
+				params.append("daddr=\(t.description.stringByAddingPercentEscapesUsingEncoding(NSUTF8StringEncoding)!)")
 				// Add optional method of transportation, if any
 				if let m = mode {
 					params.append("directionsmode=\(m)")

	}
	
	internal class func buildGoogleMapsURL(var #params: [String], callbackURL: NSURL?, callbackName: String?) -> NSURL? {
		let ok = PXGoogleDirections.canOpenInGoogleMaps()
		if ok {
			var scheme = "comgooglemaps"
			if let cbURL = callbackURL, cbn = callbackName {
				scheme = "comgooglemaps-x-callback"
				params.append("x-success=\(cbURL.absoluteString!.stringByAddingPercentEscapesUsingEncoding(NSUTF8StringEncoding))")
				params.append("x-source=\(cbn.stringByAddingPercentEscapesUsingEncoding(NSUTF8StringEncoding))")
			}
			let p = (count(params) > 0) ? "?" + "&".join(params) : ""
			return NSURL(string: "\(scheme)://\(p)")!

	
	/// The Google Directions API base URL (readonly).
	public static var apiBaseURL: String { return _apiBaseURL }
	///	Returns `true` if the Google Maps app is installed and can open places and directions URLs, `false` otherwise
	public static var canOpenInGoogleMaps: Bool {
		return UIApplication.sharedApplication().canOpenURL(NSURL(string: "comgooglemaps://")!) && UIApplication.sharedApplication().canOpenURL(NSURL(string: "comgooglemaps-x-callback://")!)
	}

	// MARK: Instance variables
	
