The mode of transportation to which directions should apply.
SDK
- MapKit JS 5.0+
Framework
- Map
Kit JS
Declaration
mapkit.Directions.Transport transportType;
Discussion
You can use this property to specify whether you want directions suited to a particular type of transportation. For example, you can specify if you want walking directions or driving directions.
The default value of this property is mapkit
.