Home > @magiclane/maps-sdk > Conditions
Conditions class
Weather conditions for a specific timestamp.
Contains weather information including type, description, parameters, and visual representation for a particular moment in time.
Get a list of Conditions via LocationForecast.forecast.
Weather
Signature:
export declare class Conditions Constructors
|
Constructor |
Modifiers |
Description |
|---|---|---|
|
(constructor)(type, stamp, description, daylight, params, img) |
Creates a Conditions instance. |
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
string | |||
|
|
string | undefined |
Get image representation as bytes. | |
|
string | undefined |
(Optional) | ||
|
Date | |||
|
string |
Methods
|
Method |
Modifiers |
Description |
|---|---|---|
|
|
Deserializes a JSON-compatible map to create an instance. |