Class GenerateIsochroneRequest
A request to generate a single isochrone.
Inheritance
GenerateIsochroneRequest
Assembly: Google.Maps.Isochrones.V1.dll
Syntax
public sealed class GenerateIsochroneRequest : IMessage<GenerateIsochroneRequest>, IEquatable<GenerateIsochroneRequest>, IDeepCloneable<GenerateIsochroneRequest>, IBufferMessage, IMessage
Constructors
GenerateIsochroneRequest()
Declaration
public GenerateIsochroneRequest()
GenerateIsochroneRequest(GenerateIsochroneRequest)
Declaration
public GenerateIsochroneRequest(GenerateIsochroneRequest other)
Parameters
Properties
EnableSmoothing
Optional. Specifies whether to smooth the edges of the resulting isochrone
polygons.
Declaration
public bool EnableSmoothing { get; set; }
Property Value
HasPlace
Gets whether the "place" field is set
Declaration
public bool HasPlace { get; }
Property Value
Location
The origin as a latitude/longitude coordinate.
Declaration
public LatLng Location { get; set; }
Property Value
OriginCase
Declaration
public GenerateIsochroneRequest.OriginOneofCase OriginCase { get; }
Property Value
Place
The resource name of a place, in the places/{place_id} format.
Declaration
public string Place { get; set; }
Property Value
PlaceAsPlaceName
Declaration
public PlaceName PlaceAsPlaceName { get; set; }
Property Value
PolygonFidelity
Optional. Controls the precision of the generated polygon.
Defaults to POLYGON_FIDELITY_UNSPECIFIED.
Declaration
public GenerateIsochroneRequest.Types.PolygonFidelity PolygonFidelity { get; set; }
Property Value
RoutingPreference
Optional. Specifies the preference for how to route. Defaults to
TRAFFIC_UNAWARE.
Declaration
public GenerateIsochroneRequest.Types.RoutingPreference RoutingPreference { get; set; }
Property Value
TravelDirection
Required. The direction of travel.
Declaration
public GenerateIsochroneRequest.Types.TravelDirection TravelDirection { get; set; }
Property Value
TravelDuration
Required. The travel time for the isochrone calculation. The value must
be positive and is capped at 7200 seconds (120 minutes).
For DRIVE mode, the maximum allowed duration is 3600 seconds (60 minutes).
Declaration
public Duration TravelDuration { get; set; }
Property Value
TravelMode
Required. The mode of transportation.
Declaration
public GenerateIsochroneRequest.Types.TravelMode TravelMode { get; set; }
Property Value