Class LatLng
- Namespace
- GoogleMapsApi.Entities.PlacesNew.Common
- Assembly
- GoogleMapsApi.dll
Latitude/longitude pair (Google's google.type.LatLng). The Places API (New) uses
latitude/longitude rather than the legacy lat/lng shape.
Used by both requests and responses.
public sealed class LatLng
- Inheritance
-
LatLng
- 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; }