Class SpeedLimitsResponse
- Namespace
- GoogleMapsApi.Entities.Roads.Response
- Assembly
- GoogleMapsApi.dll
Response from the Roads API Speed Limits endpoint.
public sealed class SpeedLimitsResponse : IResponseFor<SpeedLimitsRequest>
- Inheritance
-
SpeedLimitsResponse
- Implements
- Inherited Members
Properties
SnappedPoints
The points snapped to roads. Populated when the request supplied a path; absent when the request supplied place IDs.
[JsonPropertyName("snappedPoints")]
public IReadOnlyList<SnappedPoint>? SnappedPoints { get; set; }
Property Value
SpeedLimits
The posted speed limits, one per road segment.
[JsonPropertyName("speedLimits")]
public IReadOnlyList<SpeedLimit>? SpeedLimits { get; set; }