---
title: transportType
framework: mapkit
role: symbol
role_heading: Instance Property
path: mapkit/mkdirections/request/transporttype
---

# transportType

The type of conveyance that the directions apply to.

## Declaration

```swift
var transportType: MKDirectionsTransportType { get set }
```

## Discussion

Discussion You can use this property to specify whether you want directions suited to a particular type of transportation. For example, you can use this to specify that you want walking directions or driving directions. The default value of this property is any.

## See Also

### Specifying transportation options

- [highwayPreference](mapkit/mkdirections/request/highwaypreference.md)
- [tollPreference](mapkit/mkdirections/request/tollpreference.md)
- [MKDirections.RoutePreference](mapkit/mkdirections/routepreference.md)
- [requestsAlternateRoutes](mapkit/mkdirections/request/requestsalternateroutes.md)
- [departureDate](mapkit/mkdirections/request/departuredate.md)
- [arrivalDate](mapkit/mkdirections/request/arrivaldate.md)
