Class RoadsLocation
- Namespace
- GoogleMapsApi.Entities.Roads.Response
- Assembly
- GoogleMapsApi.dll
A latitude/longitude coordinate returned by the Roads API. Unlike
Location (which serializes as lat/lng),
the Roads API uses the latitude/longitude JSON keys.
public sealed class RoadsLocation
- Inheritance
-
RoadsLocation
- Inherited Members
Properties
Latitude
Latitude in decimal degrees.
[JsonPropertyName("latitude")]
public double Latitude { get; set; }
Property Value
Longitude
Longitude in decimal degrees.
[JsonPropertyName("longitude")]
public double Longitude { get; set; }