Table of Contents

Class SpeedLimit

Namespace
GoogleMapsApi.Entities.Roads.Response
Assembly
GoogleMapsApi.dll

Posted speed limit for a single road segment, identified by PlaceId.

public sealed class SpeedLimit
Inheritance
SpeedLimit
Inherited Members

Properties

PlaceId

Unique identifier of the road segment this speed limit applies to.

[JsonPropertyName("placeId")]
public string? PlaceId { get; set; }

Property Value

string

Units

Unit of Value.

[JsonPropertyName("units")]
[JsonConverter(typeof(EnumMemberJsonConverter<SpeedLimitUnits>))]
public SpeedLimitUnits? Units { get; set; }

Property Value

SpeedLimitUnits?

Value

The speed limit value, expressed in Units.

[JsonPropertyName("speedLimit")]
public double Value { get; set; }

Property Value

double