Table of Contents

Enum TrafficModel

Namespace
GoogleMapsApi.Entities.Routes.Request
Assembly
GoogleMapsApi.dll

Traffic model used when RoutingPreference is TrafficAware or TrafficAwareOptimal.

public enum TrafficModel

Fields

[EnumMember(Value = "BEST_GUESS")] BestGuess = 1

Use the best estimate of travel time given live and historical traffic.

[EnumMember(Value = "OPTIMISTIC")] Optimistic = 3

Use the optimistic estimate (shorter than actual in most cases).

[EnumMember(Value = "PESSIMISTIC")] Pessimistic = 2

Use the pessimistic estimate (longer than actual in most cases).

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

Unspecified; treated as BestGuess.