Class Coordinates
- Namespace
- SimpleWeather
- Assembly
- SimpleWeather.dll
Represents the coordinate payload returned from the OpenWeather current weather response.
public class Coordinates
- Inheritance
-
Coordinates
- Inherited Members
Constructors
Coordinates(JToken)
Initializes a new instance of the Coordinates class from raw JSON data.
public Coordinates(JToken data)
Parameters
dataJTokenThe JSON token containing the coordinate fields.
Properties
Latitude
City geo location, latitude
public double? Latitude { get; }
Property Value
Longitude
City geo location, longitude
public double? Longitude { get; }