Home > @magiclane/maps-sdk > LocationForecast
LocationForecast class
Weather forecast for a specific geographic location.
Contains the forecast update time, coordinates, and a list of conditions representing weather data for the location.
Obtained via WeatherService methods.
Weather
Signature:
export declare class LocationForecast Constructors
Constructor | Modifiers | Description |
|---|---|---|
(constructor)(updated, coord, forecast, timestamp, warnings) | Creates a LocationForecast instance. |
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
number | undefined | (Optional) | ||
Date | |||
Warning[] |
Methods
Method | Modifiers | Description |
|---|---|---|
| Deserializes a JSON-compatible map to create an instance. | |
Serializes this instance to a JSON-compatible map. |