Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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.
Read time 1 minuteLast updated 6 days ago

Definition

[Flags]public enum MapsOptions

Remarks

Use this enum with ProjectCapabilityManager.AddMaps 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

AirplaneProvide routing information for airplane travel.
BikeProvide routing information for bicycle travel.
BusProvide routing information for bus travel.
CarProvide routing information for car travel.
FerryProvide routing information for ferry travel.
NoneNo Maps routing information is necessary.
OtherProvide routing information for other types of travel.
PedestrianProvide routing information for pedestrian travel.
RideSharingProvide routing information for ride sharing travel.
StreetCarProvide routing information for street car travel.
SubwayProvide routing information for subway travel.
TaxiProvide routing information for taxi travel.
TrainProvide routing information for train travel.