Enum ExtraComputation
- Namespace
- GoogleMapsApi.Entities.Routes.Request
- Assembly
- GoogleMapsApi.dll
Optional extra computations the Routes API can perform alongside the route. Each entry incurs additional billing — request only what you need.
public enum ExtraComputation
Fields
[EnumMember(Value = "FUEL_CONSUMPTION")] FuelConsumption = 2Include estimated fuel consumption for the route.
Include HTML-formatted navigation instructions on each leg/step.
[EnumMember(Value = "TOLLS")] Tolls = 1Include toll information for the route.
[EnumMember(Value = "TRAFFIC_ON_POLYLINE")] TrafficOnPolyline = 3Include traffic-aware polylines colored by congestion level.
[EnumMember(Value = "EXTRA_COMPUTATION_UNSPECIFIED")] Unspecified = 0Unspecified; the API ignores this value.