Class Location
- Namespace
- GoogleMapsApi.Entities.Common
- Assembly
- GoogleMapsApi.dll
public class Location : ILocationString
- Inheritance
-
Location
- Implements
- Inherited Members
Constructors
Location()
public Location()
Location(double, double)
public Location(double lat, double lng)
Parameters
Properties
Latitude
[JsonPropertyName("lat")]
public double Latitude { get; set; }
Property Value
LocationString
public string LocationString { get; }
Property Value
Longitude
[JsonPropertyName("lng")]
public double Longitude { get; set; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.