Table of Contents

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 = 2

Include estimated fuel consumption for the route.

[EnumMember(Value = "HTML_FORMATTED_NAVIGATION_INSTRUCTIONS")] HtmlFormattedNavigationInstructions = 4

Include HTML-formatted navigation instructions on each leg/step.

[EnumMember(Value = "TOLLS")] Tolls = 1

Include toll information for the route.

[EnumMember(Value = "TRAFFIC_ON_POLYLINE")] TrafficOnPolyline = 3

Include traffic-aware polylines colored by congestion level.

[EnumMember(Value = "EXTRA_COMPUTATION_UNSPECIFIED")] Unspecified = 0

Unspecified; the API ignores this value.