# MapsOptions

> Describes various navigational options that your application can use to receive route data from the Maps app. The values are flags that you can combine using the bitwise OR ( | ) operator.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEditor.iOS.Xcode](/engine/6000.7/script-reference/unityeditor/ios/xcode.md)
* **Assembly:** UnityEditor.iOS.Extensions.Xcode

```csharp
[Flags]
public enum MapsOptions
```

## Remarks

Use this enum with [ProjectCapabilityManager.AddMaps](/engine/6000.7/script-reference/unityeditor/ios/xcode/projectcapabilitymanager/addmaps.md) when adding the Maps capability to an Xcode project. Pass one or more combined flags to declare the routing modes your app supports (for example, car, transit, pedestrian). This configures the project's `Info.plist` and capabilities so the app can receive directions from the Maps app for the selected modes.

## Fields

| Value                                                                                           | Description                                            |
| ----------------------------------------------------------------------------------------------- | ------------------------------------------------------ |
| [Airplane](/engine/6000.7/script-reference/unityeditor/ios/xcode/mapsoptions/airplane.md)       | Provide routing information for airplane travel.       |
| [Bike](/engine/6000.7/script-reference/unityeditor/ios/xcode/mapsoptions/bike.md)               | Provide routing information for bicycle travel.        |
| [Bus](/engine/6000.7/script-reference/unityeditor/ios/xcode/mapsoptions/bus.md)                 | Provide routing information for bus travel.            |
| [Car](/engine/6000.7/script-reference/unityeditor/ios/xcode/mapsoptions/car.md)                 | Provide routing information for car travel.            |
| [Ferry](/engine/6000.7/script-reference/unityeditor/ios/xcode/mapsoptions/ferry.md)             | Provide routing information for ferry travel.          |
| [None](/engine/6000.7/script-reference/unityeditor/ios/xcode/mapsoptions/none.md)               | No Maps routing information is necessary.              |
| [Other](/engine/6000.7/script-reference/unityeditor/ios/xcode/mapsoptions/other.md)             | Provide routing information for other types of travel. |
| [Pedestrian](/engine/6000.7/script-reference/unityeditor/ios/xcode/mapsoptions/pedestrian.md)   | Provide routing information for pedestrian travel.     |
| [RideSharing](/engine/6000.7/script-reference/unityeditor/ios/xcode/mapsoptions/ridesharing.md) | Provide routing information for ride sharing travel.   |
| [StreetCar](/engine/6000.7/script-reference/unityeditor/ios/xcode/mapsoptions/streetcar.md)     | Provide routing information for street car travel.     |
| [Subway](/engine/6000.7/script-reference/unityeditor/ios/xcode/mapsoptions/subway.md)           | Provide routing information for subway travel.         |
| [Taxi](/engine/6000.7/script-reference/unityeditor/ios/xcode/mapsoptions/taxi.md)               | Provide routing information for taxi travel.           |
| [Train](/engine/6000.7/script-reference/unityeditor/ios/xcode/mapsoptions/train.md)             | Provide routing information for train travel.          |
