Options
All
  • Public
  • Public/Protected
  • All
Menu

@aerisweather/javascript-sdk

Index

Namespaces

Enumerations

Classes

Interfaces

Type aliases

Variables

Functions

Object literals

Type aliases

AnchorType

AnchorType: "topleft" | "top" | "topright" | "left" | "center" | "right" | "bottomleft" | "bottom" | "bottomleft"

A data type that represents the supported anchor positions for elements.

AnimationTargets

AnimationTargets: { future: HTMLElement; futureText: HTMLElement; past: HTMLElement; pastText: HTMLElement }

Type declaration

  • future: HTMLElement
  • futureText: HTMLElement
  • past: HTMLElement
  • pastText: HTMLElement

AnyButton

AnyButton: Button<any, any>

AnyButtonOptions

AnyInfoPanelView

AnyMapElement

AnyMapElement: MapElement<Geometry, any>

AnyMapSourceOptions

AnyMapSourceOptions: any & TileSourceOptions | VectorSourceOptions

AnyMapStrategy

AnyMapStrategy: MapStrategy<any, any>

AnyPanel

ApiConfig

ApiConfig: { client?: { id: string; secret: string }; server?: string }

A data type that represents the configuration options for an API request.

Type declaration

  • Optional client?: { id: string; secret: string }

    API client configuration to use with the request.

    • id: string

      Client access id.

    • secret: string

      Client access secret.

  • Optional server?: string

    The API base server path.

ButtonType

ButtonType: "basic" | "data-item"

CalloutFormatter

CalloutFormatter: () => string

Type declaration

    • (): string
    • Returns string

ColorRamp

ColorRamp: {}

Type declaration

  • [key: string]: RGB

ColorScale

ColorScale: RGB[]

ColorStop

ColorStop: [number, string]

DataFetcher

DataFetcher: (bounds: GeoBounds, from: Date, to: Date, params: any, callback: any) => void

Type declaration

    • (bounds: GeoBounds, from: Date, to: Date, params: any, callback: any): void
    • Parameters

      • bounds: GeoBounds
      • from: Date
      • to: Date
      • params: any
      • callback: any

      Returns void

EventPositionInfo

EventPositionInfo: { clientX: number; clientY: number; pageX: number; pageY: number; screenX: number; screenY: number; target: any }

Type declaration

  • clientX: number
  • clientY: number
  • pageX: number
  • pageY: number
  • screenX: number
  • screenY: number
  • target: any

FillPaint

FillPaint: maplibregl.FillLayerSpecification["paint"]

HSL

HSL: { a?: number; h: number; l: number | string; s: number | string }

Type declaration

  • Optional a?: number
  • h: number
  • l: number | string
  • s: number | string

HSV

HSV: { a?: number; h: number; s: number | string; v: number | string }

Type declaration

  • Optional a?: number
  • h: number
  • s: number | string
  • v: number | string

InfoPanelViewDataFormatter

InfoPanelViewDataFormatter: (data: any, config?: any) => any

Type declaration

    • (data: any, config?: any): any
    • Parameters

      • data: any
      • Optional config: any

      Returns any

InfoPanelViewRenderer

InfoPanelViewRenderer: (data: any, renderers?: Record<string, InfoPanelViewRenderer>) => string

Type declaration

LatLonValue

LatLonValue: number[]

A lat/lon numberical value array, e.g. [37.3604, -105.1893] or [-105.1893, 37.3604].

export

LayerDataType

LayerDataType: { markers?: any; polygons?: any[]; polylines?: any[] }

A data type that represents the data objects that can be added to a map view.

Type declaration

  • Optional markers?: any

    Marker objects by identifier

  • Optional polygons?: any[]

    Polygon objects

  • Optional polylines?: any[]

    Polyline objects

LayerGroups

LayerGroups: { base: string[]; data: string[]; overlays: string[]; text: string[] }

A data type that represents a series of layer groups.

Type declaration

  • base: string[]

    Base map layers.

  • data: string[]

    Weather data layers.

  • overlays: string[]

    Map overlay layers.

  • text: string[]

    Weather text data layers.

LayerStyle

LayerStyle: RasterStyle | VectorStyle

LayerStyleGroups

LayerStyleGroups: { marker?: MarkerStyleProvider; polygon?: ShapeStyleProvider; polyline?: ShapeStyleProvider; raster?: RasterStyle }

Type declaration

LegendMetadata

LegendMetadata: {}

Type declaration

LinePaint

LinePaint: maplibregl.LineLayerSpecification["paint"]

LineSegment

LineSegment: { bounds: GeoBounds; coords: Coordinate[]; data?: any }

Type declaration

MapElementGroup

MapElementGroup<T>: { data: any; elements: Array<T> }

Type parameters

Type declaration

  • data: any
  • elements: Array<T>

MaplibreLayerType

MaplibreLayerType: maplibregl.LayerSpecification | CustomLayerInterface

MarkerStyleProvider

MarkerStyleProvider: MarkerStyle | ((data: any) => MarkerStyle)

NumericRange

NumericRange: { max: number; min: number }

Type declaration

  • max: number
  • min: number

PolygonDef

PolygonDef: { id?: string; inner?: Coordinate[][]; outer: Coordinate[] }

A data type that represents the outer and inner coordinate data that defines a polygon.

Type declaration

PolygonGroup

PolylineGroup

Procedure

Procedure: (...args: any[]) => void

Type declaration

    • (...args: any[]): void
    • Parameters

      • Rest ...args: any[]

      Returns void

RGB

RGB: { a?: number; b: number; g: number; r: number }

A data type that represents the individual RGB color components for a color.

Type declaration

  • Optional a?: number
  • b: number
  • g: number
  • r: number

RangeItem

RangeItem: { label: string; value: number }

Type declaration

  • label: string
  • value: number

RasterPaint

RasterPaint: maplibregl.RasterLayerSpecification["paint"]

ShapeStyleProvider

ShapeStyleProvider: ShapeStyle | ((data: any) => ShapeStyle)

TextAnimationData

TextAnimationData: Record<string, TimeValueRepresentable>

A data type that represents a series of TimeValueRepresentable objects keyed by unique identifier.

VectorElementType

VectorElementType: "marker" | "polyline" | "polygon"

ViewportSize

ViewportSize: "normal" | "compact" | "desktop"

ViewportSizeDescriptor

ViewportSizeDescriptor: { height: ViewportSize; width: ViewportSize }

Type declaration

Variables

Const AERIS_ATTRIBUTION

AERIS_ATTRIBUTION: "Weather data &copy; <a href="https://www.aerisweather.com/" target="_blank">AerisWeather</a>" = "Weather data &copy; <a href="https://www.aerisweather.com/" target="_blank">AerisWeather</a>"

Const BASE_RADIUS

BASE_RADIUS: 0.9 = 0.9

Const CancelToken

CancelToken: CancelTokenStatic = axios.CancelToken

Const DEFAULT_X

DEFAULT_X: 22 = 22

Const DEFAULT_Y

DEFAULT_Y: 22 = 22

Const Dependencies

Dependencies: Record<string, any>

Const GOOGLE_DIRECTIONS_API

GOOGLE_DIRECTIONS_API: "https://maps.googleapis.com/maps/api/directions/json" = "https://maps.googleapis.com/maps/api/directions/json"

Const GOOGLE_GEOCODE_API

GOOGLE_GEOCODE_API: "https://maps.googleapis.com/maps/api/geocode/json" = "https://maps.googleapis.com/maps/api/geocode/json"

Const MAPBOX_DIRECTIONS_API

MAPBOX_DIRECTIONS_API: "https://api.mapbox.com/directions/v5/mapbox/{mode}/{points}" = "https://api.mapbox.com/directions/v5/mapbox/{mode}/{points}"

Const MAPBOX_GEOCODE_API

MAPBOX_GEOCODE_API: "https://api.mapbox.com/geocoding/v5/mapbox.places/{query}.json" = "https://api.mapbox.com/geocoding/v5/mapbox.places/{query}.json"

Const MAPBOX_VERSION

MAPBOX_VERSION: "2.0.0" = "2.0.0"

Const MAPLIBRE_VERSION

MAPLIBRE_VERSION: "2.4.0" = "2.4.0"

Const SUPPORTED_STRATEGIES

SUPPORTED_STRATEGIES: string[] = ['mapbox', 'maplibre', 'google', 'leaflet']

Let _addedSvgDefs

_addedSvgDefs: boolean = false

Let _modifiers

_modifiers: string[] = []

Let activePopover

activePopover: Tooltip = null

Let activeTooltip

activeTooltip: Tooltip

Const continuousFog

continuousFog: "<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-wx-symbol-continuous-fog"/></svg>" = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-wx-symbol-continuous-fog"/></svg>`

Const defs

defs: "<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><circle id="wx-symbol-raindrop" cx="12" cy="12" r="2.5" /><g id="wx-symbol-snowflake"><line x1="8" x2="16" y1="12" y2="12" stroke-linecap="round" /><line x1="10" x2="14" y1="9" y2="15" stroke-linecap="round" /><line x1="14" x2="10" y1="9" y2="15" stroke-linecap="round" /></g><path id="wx-symbol-curve" d="M 12 12 C 12 6, 4 6, 4 12 C 4 14, 4 14, 6 16" fill="transparent" stroke-linecap="round" /><polygon id="wx-symbol-triangle-equilateral-up" points="4,20, 20,20, 12,4" fill="transparent"></polygon><polygon id="wx-symbol-triangle-down" points="7,12, 17,12, 12,21" fill="transparent"></polygon><g id="wx-symbol-triangle-down-with-stroke"><use xlink:href="#wx-symbol-triangle-down" fill="transparent" stroke-width="3" stroke="white" /><use xlink:href="#wx-symbol-triangle-down" fill="transparent" stroke-width="2" stroke="black" /><use xlink:href="#wx-symbol-triangle-down" fill="transparent" stroke-width="1" stroke="red" /></g><text id="wx-symbol-comma" x="12" y="12" text-anchor="middle" font-family="Times New Roman, cursive, sans-serif">,</text><g id="wx-symbol-comma-with-stroke"><use xlink:href="#wx-symbol-comma" stroke="white" stroke-width="2" /><use xlink:href="#wx-symbol-comma" fill="firebrick" /></g><line id="wx-symbol-line" x1="8" x2="16" y1="12" y2="12" stroke-linecap="round" /><g id="wx-symbol-line-with-stroke"><use xlink:href="#wx-symbol-line" stroke="white" stroke-width="4" /><use xlink:href="#wx-symbol-line" stroke="black" stroke-width="2" /><use xlink:href="#wx-symbol-line" stroke="red" stroke-width="1.5" /></g><g id="wx-symbol-line-dashed-with-stroke"><use xlink:href="#wx-symbol-line" stroke="white" stroke-width="4" stroke-dasharray="2 4" /><use xlink:href="#wx-symbol-line" stroke="black" stroke-width="2" stroke-dasharray="2 4" /><use xlink:href="#wx-symbol-line" stroke="red" stroke-width="1.5" stroke-dasharray="2 4" /></g><g id="wx-symbol-light-fog"><use xlink:href="#wx-symbol-line-with-stroke" transform="translate(0, -2)" /><use xlink:href="#wx-symbol-line-with-stroke" transform="translate(0, 2)" /></g><g id="continuous-dog"><use xlink:href="#wx-symbol-line-dashed-with-stroke" transform="translate(0, -2)" /><use xlink:href="#wx-symbol-line-with-stroke" transform="translate(0, 2)" /></g><g id="wx-symbol-raindrop-with-stroke"><use xlink:href="#wx-symbol-raindrop" stroke="white" stroke-width="3" /><use xlink:href="#wx-symbol-raindrop" fill="red" stroke="black" stroke-width="1.5" /><use xlink:href="#wx-symbol-raindrop" fill="red" /></g><g id="wx-symbol-snowflake-with-stroke"><use xlink:href="#wx-symbol-snowflake" stroke="white" stroke-width="3" /><use xlink:href="#wx-symbol-snowflake" stroke="black" stroke-width="1.5" /><use xlink:href="#wx-symbol-snowflake" stroke="red" stroke-width="1" /></g><g id="wx-squiggle"><use xlink:href="#wx-symbol-curve" /><use xlink:href="#wx-symbol-curve" transform="rotate(180, 12, 12)" /></g><g id="wx-symbol-squiggle-with-stroke"><use xlink:href="#wx-symbol-squiggle" stroke-width="6" stroke="white" /><use xlink:href="#wx-symbol-squiggle" stroke-width="2.25" stroke="black" /><use xlink:href="#wx-symbol-squiggle" stroke-width="1.25" stroke="red" /></g><g id="wx-symbol-ice-crystal"><line x1="4" x2="20" y1="12" y2="12" stroke-linecap="round" /><line x1="10" x2="14" y1="9" y2="15" stroke-linecap="round" /><line x1="14" x2="10" y1="9" y2="15" stroke-linecap="round" /></g><g id="wx-symbol-ice-crystal-with-stroke"><use xlink:href="#wx-symbol-ice-crystal" stroke="white" stroke-width="3" /><use xlink:href="#wx-symbol-ice-crystal" stroke="black" stroke-width="1.5" /><use xlink:href="#wx-symbol-ice-crystal" stroke="red" stroke-width="1" /></g><g id="wx-symbol-ice-pellet"><use xlink:href="#wx-symbol-triangle-equilateral-up" stroke="white" stroke-width="3" /><use xlink:href="#wx-symbol-triangle-equilateral-up" stroke="black" stroke-width="1.5" /><use xlink:href="#wx-symbol-triangle-equilateral-up" stroke="red" stroke-width="1" /><use xlink:href="#wx-symbol-raindrop-with-stroke" transform="scale(.75) translate(3.75, 6.75)" /></g><g id="wx-symbol-lightning"><polyline points="16,6 10,12 16,18" fill="none" stroke-linejoin="round" stroke-linecap="round" /><use xlink:href="#wx-symbol-arrowhead" transform="translate(3.5, 5.5) rotate(135, 12, 12)" /></g><g id="wx-symbol-lightning-with-stroke"><use xlink:href="#wx-symbol-lightning" stroke="white" stroke-width="3" /><use xlink:href="#wx-symbol-lightning" stroke="black" stroke-width="2" /><use xlink:href="#wx-symbol-lightning" stroke="red" stroke-width="1" /></g><g id="wx-symbol-triangle-down-with-wx-symbol-line-with-stroke"><line x1="10" x2="14" y1="15" y2="15" stroke="white" stroke-width="3" /><use xlink:href="#wx-symbol-triangle-down-with-stroke" /><line x1="10" x2="14" y1="15" y2="15" stroke="black" stroke-width="1.5" /><line x1="10" x2="14" y1="15" y2="15" stroke="red" stroke-width="1" /></g><path id="wx-symbol-s" d="M 16 10 C 16 6, 8 6, 8 10 L 16 14 C 16 18 8 18 8 14" fill="transparent" /><g id="wx-symbol-s-with-stroke"><use xlink:href="#wx-symbol-s" stroke="white" stroke-width="3" /><use xlink:href="#wx-symbol-s" stroke="black" stroke-width="2" /><use xlink:href="#wx-symbol-s" stroke="red" stroke-width="1" /></g><path id="wx-symbol-curve2" d="M 6 14 C 6 20, 18 20, 18 14" fill="transparent" stroke-linecap="round" /><g id="wx-symbol-curve-with-stroke2"><use xlink:href="#wx-symbol-curve2" stroke="white" stroke-width="5" /><use xlink:href="#wx-symbol-curve2" stroke="black" stroke-width="3" /><use xlink:href="#wx-symbol-curve2" stroke="red" stroke-width="2" /></g><path id="wx-symbol-squiggle" d="M 4 4 C 4 0 8 0 8 4 S 12 8, 12 4 S 16 0, 16 4" fill="transparent" stroke-linecap="round" /><g id="wx-symbol-smoke-with-stroke" transform="scale(.8, .8) translate(6, 6)"><line x1="4" x2="4" y1="18" y2="2" stroke="white" stroke-width="4" stroke-linecap="round" /><use xlink:href="#wx-symbol-squiggle" stroke="white" stroke-width="4" /><line x1="4" x2="4" y1="18" y2="2" stroke="black" stroke-width="2" stroke-linecap="round" /><use xlink:href="#wx-symbol-squiggle" stroke="black" stroke-width="2" /><line x1="4" x2="4" y1="18" y2="2" stroke="red" stroke-width="1" stroke-linecap="round" /><use xlink:href="#wx-symbol-squiggle" stroke="red" stroke-width="1" /></g><polyline id="wx-symbol-arrowhead" points="9,13 12,10 15,13" fill="transparent" stroke-linecap="round" /><g id="wx-symbol-light-thunderstorm"><line x1="6" x2="8" y1="6" y2="6" stroke-linecap="round" /><polyline points="8,18 8,6 16,6 12,12 16,18" fill="none" stroke-linejoin="round" stroke-linecap="round" /><use xlink:href="#wx-symbol-arrowhead" transform="translate(3.75, 5.5) rotate(135, 12, 12)" /></g><g id="wx-symbol-light-thunderstorm-with-stroke"><use xlink:href="#wx-symbol-light-thunderstorm" stroke="white" stroke-width="4" /><use xlink:href="#wx-symbol-light-thunderstorm" stroke="black" stroke-width="2" /><use xlink:href="#wx-symbol-light-thunderstorm" stroke="red" stroke-width="1" /></g><g id="wx-symbol-heavy-thunderstorm"><line x1="6" x2="8" y1="6" y2="6" stroke-linecap="round" /><polyline points="8,18 8,6 16,6 12,10 16,14, 12,18" fill="none" stroke-linejoin="round" stroke-linecap="round" /><use xlink:href="#wx-symbol-arrowhead" transform="translate(0.4, 5.5) rotate(225, 12, 12)" /></g><g id="wx-symbol-heavy-thunderstorm-with-stroke"><use xlink:href="#wx-symbol-heavy-thunderstorm" stroke="white" stroke-width="4" /><use xlink:href="#wx-symbol-heavy-thunderstorm" stroke="black" stroke-width="2" /><use xlink:href="#wx-symbol-heavy-thunderstorm" stroke="red" stroke-width="1" /></g><g id="wx-symbol-haze"><path id="wx-symbol-oval" d="M 12 12 C 10 16, 4 16, 4 12 C 4 8, 10 8, 12 12" fill="transparent" /><use xlink:href="#wx-symbol-oval" transform="rotate(180 12 12)" /></g></defs></svg>" = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><circle id="wx-symbol-raindrop" cx="12" cy="12" r="2.5" /><g id="wx-symbol-snowflake"><line x1="8" x2="16" y1="12" y2="12" stroke-linecap="round" /><line x1="10" x2="14" y1="9" y2="15" stroke-linecap="round" /><line x1="14" x2="10" y1="9" y2="15" stroke-linecap="round" /></g><path id="wx-symbol-curve" d="M 12 12 C 12 6, 4 6, 4 12 C 4 14, 4 14, 6 16" fill="transparent" stroke-linecap="round" /><polygon id="wx-symbol-triangle-equilateral-up" points="4,20, 20,20, 12,4" fill="transparent"></polygon><polygon id="wx-symbol-triangle-down" points="7,12, 17,12, 12,21" fill="transparent"></polygon><g id="wx-symbol-triangle-down-with-stroke"><use xlink:href="#wx-symbol-triangle-down" fill="transparent" stroke-width="3" stroke="white" /><use xlink:href="#wx-symbol-triangle-down" fill="transparent" stroke-width="2" stroke="black" /><use xlink:href="#wx-symbol-triangle-down" fill="transparent" stroke-width="1" stroke="red" /></g><text id="wx-symbol-comma" x="12" y="12" text-anchor="middle" font-family="Times New Roman, cursive, sans-serif">,</text><g id="wx-symbol-comma-with-stroke"><use xlink:href="#wx-symbol-comma" stroke="white" stroke-width="2" /><use xlink:href="#wx-symbol-comma" fill="firebrick" /></g><line id="wx-symbol-line" x1="8" x2="16" y1="12" y2="12" stroke-linecap="round" /><g id="wx-symbol-line-with-stroke"><use xlink:href="#wx-symbol-line" stroke="white" stroke-width="4" /><use xlink:href="#wx-symbol-line" stroke="black" stroke-width="2" /><use xlink:href="#wx-symbol-line" stroke="red" stroke-width="1.5" /></g><g id="wx-symbol-line-dashed-with-stroke"><use xlink:href="#wx-symbol-line" stroke="white" stroke-width="4" stroke-dasharray="2 4" /><use xlink:href="#wx-symbol-line" stroke="black" stroke-width="2" stroke-dasharray="2 4" /><use xlink:href="#wx-symbol-line" stroke="red" stroke-width="1.5" stroke-dasharray="2 4" /></g><g id="wx-symbol-light-fog"><use xlink:href="#wx-symbol-line-with-stroke" transform="translate(0, -2)" /><use xlink:href="#wx-symbol-line-with-stroke" transform="translate(0, 2)" /></g><g id="continuous-dog"><use xlink:href="#wx-symbol-line-dashed-with-stroke" transform="translate(0, -2)" /><use xlink:href="#wx-symbol-line-with-stroke" transform="translate(0, 2)" /></g><g id="wx-symbol-raindrop-with-stroke"><use xlink:href="#wx-symbol-raindrop" stroke="white" stroke-width="3" /><use xlink:href="#wx-symbol-raindrop" fill="red" stroke="black" stroke-width="1.5" /><use xlink:href="#wx-symbol-raindrop" fill="red" /></g><g id="wx-symbol-snowflake-with-stroke"><use xlink:href="#wx-symbol-snowflake" stroke="white" stroke-width="3" /><use xlink:href="#wx-symbol-snowflake" stroke="black" stroke-width="1.5" /><use xlink:href="#wx-symbol-snowflake" stroke="red" stroke-width="1" /></g><g id="wx-squiggle"><use xlink:href="#wx-symbol-curve" /><use xlink:href="#wx-symbol-curve" transform="rotate(180, 12, 12)" /></g><g id="wx-symbol-squiggle-with-stroke"><use xlink:href="#wx-symbol-squiggle" stroke-width="6" stroke="white" /><use xlink:href="#wx-symbol-squiggle" stroke-width="2.25" stroke="black" /><use xlink:href="#wx-symbol-squiggle" stroke-width="1.25" stroke="red" /></g><g id="wx-symbol-ice-crystal"><line x1="4" x2="20" y1="12" y2="12" stroke-linecap="round" /><line x1="10" x2="14" y1="9" y2="15" stroke-linecap="round" /><line x1="14" x2="10" y1="9" y2="15" stroke-linecap="round" /></g><g id="wx-symbol-ice-crystal-with-stroke"><use xlink:href="#wx-symbol-ice-crystal" stroke="white" stroke-width="3" /><use xlink:href="#wx-symbol-ice-crystal" stroke="black" stroke-width="1.5" /><use xlink:href="#wx-symbol-ice-crystal" stroke="red" stroke-width="1" /></g><g id="wx-symbol-ice-pellet"><use xlink:href="#wx-symbol-triangle-equilateral-up" stroke="white" stroke-width="3" /><use xlink:href="#wx-symbol-triangle-equilateral-up" stroke="black" stroke-width="1.5" /><use xlink:href="#wx-symbol-triangle-equilateral-up" stroke="red" stroke-width="1" /><use xlink:href="#wx-symbol-raindrop-with-stroke" transform="scale(.75) translate(3.75, 6.75)" /></g><g id="wx-symbol-lightning"><polyline points="16,6 10,12 16,18" fill="none" stroke-linejoin="round" stroke-linecap="round" /><use xlink:href="#wx-symbol-arrowhead" transform="translate(3.5, 5.5) rotate(135, 12, 12)" /></g><g id="wx-symbol-lightning-with-stroke"><use xlink:href="#wx-symbol-lightning" stroke="white" stroke-width="3" /><use xlink:href="#wx-symbol-lightning" stroke="black" stroke-width="2" /><use xlink:href="#wx-symbol-lightning" stroke="red" stroke-width="1" /></g><g id="wx-symbol-triangle-down-with-wx-symbol-line-with-stroke"><line x1="10" x2="14" y1="15" y2="15" stroke="white" stroke-width="3" /><use xlink:href="#wx-symbol-triangle-down-with-stroke" /><line x1="10" x2="14" y1="15" y2="15" stroke="black" stroke-width="1.5" /><line x1="10" x2="14" y1="15" y2="15" stroke="red" stroke-width="1" /></g><path id="wx-symbol-s" d="M 16 10 C 16 6, 8 6, 8 10 L 16 14 C 16 18 8 18 8 14" fill="transparent" /><g id="wx-symbol-s-with-stroke"><use xlink:href="#wx-symbol-s" stroke="white" stroke-width="3" /><use xlink:href="#wx-symbol-s" stroke="black" stroke-width="2" /><use xlink:href="#wx-symbol-s" stroke="red" stroke-width="1" /></g><path id="wx-symbol-curve2" d="M 6 14 C 6 20, 18 20, 18 14" fill="transparent" stroke-linecap="round" /><g id="wx-symbol-curve-with-stroke2"><use xlink:href="#wx-symbol-curve2" stroke="white" stroke-width="5" /><use xlink:href="#wx-symbol-curve2" stroke="black" stroke-width="3" /><use xlink:href="#wx-symbol-curve2" stroke="red" stroke-width="2" /></g><path id="wx-symbol-squiggle" d="M 4 4 C 4 0 8 0 8 4 S 12 8, 12 4 S 16 0, 16 4" fill="transparent" stroke-linecap="round" /><g id="wx-symbol-smoke-with-stroke" transform="scale(.8, .8) translate(6, 6)"><line x1="4" x2="4" y1="18" y2="2" stroke="white" stroke-width="4" stroke-linecap="round" /><use xlink:href="#wx-symbol-squiggle" stroke="white" stroke-width="4" /><line x1="4" x2="4" y1="18" y2="2" stroke="black" stroke-width="2" stroke-linecap="round" /><use xlink:href="#wx-symbol-squiggle" stroke="black" stroke-width="2" /><line x1="4" x2="4" y1="18" y2="2" stroke="red" stroke-width="1" stroke-linecap="round" /><use xlink:href="#wx-symbol-squiggle" stroke="red" stroke-width="1" /></g><polyline id="wx-symbol-arrowhead" points="9,13 12,10 15,13" fill="transparent" stroke-linecap="round" /><g id="wx-symbol-light-thunderstorm"><line x1="6" x2="8" y1="6" y2="6" stroke-linecap="round" /><polyline points="8,18 8,6 16,6 12,12 16,18" fill="none" stroke-linejoin="round" stroke-linecap="round" /><use xlink:href="#wx-symbol-arrowhead" transform="translate(3.75, 5.5) rotate(135, 12, 12)" /></g><g id="wx-symbol-light-thunderstorm-with-stroke"><use xlink:href="#wx-symbol-light-thunderstorm" stroke="white" stroke-width="4" /><use xlink:href="#wx-symbol-light-thunderstorm" stroke="black" stroke-width="2" /><use xlink:href="#wx-symbol-light-thunderstorm" stroke="red" stroke-width="1" /></g><g id="wx-symbol-heavy-thunderstorm"><line x1="6" x2="8" y1="6" y2="6" stroke-linecap="round" /><polyline points="8,18 8,6 16,6 12,10 16,14, 12,18" fill="none" stroke-linejoin="round" stroke-linecap="round" /><use xlink:href="#wx-symbol-arrowhead" transform="translate(0.4, 5.5) rotate(225, 12, 12)" /></g><g id="wx-symbol-heavy-thunderstorm-with-stroke"><use xlink:href="#wx-symbol-heavy-thunderstorm" stroke="white" stroke-width="4" /><use xlink:href="#wx-symbol-heavy-thunderstorm" stroke="black" stroke-width="2" /><use xlink:href="#wx-symbol-heavy-thunderstorm" stroke="red" stroke-width="1" /></g><g id="wx-symbol-haze"><path id="wx-symbol-oval" d="M 12 12 C 10 16, 4 16, 4 12 C 4 8, 10 8, 12 12" fill="transparent" /><use xlink:href="#wx-symbol-oval" transform="rotate(180 12 12)" /></g></defs></svg>`

Const distantLightning

distantLightning: "<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-lightning-with-stroke" /></svg>" = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-lightning-with-stroke" /></svg>`

Const drizzleFreezingHeavy

drizzleFreezingHeavy: "<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-squiggle-with-stroke" /><use xlink:href="#wx-symbol-comma-with-stroke" transform="translate(-4, 0)"/><use xlink:href="#wx-symbol-comma-with-stroke" transform="translate(4, 0)"/></svg>" = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-squiggle-with-stroke" /><use xlink:href="#wx-symbol-comma-with-stroke" transform="translate(-4, 0)"/><use xlink:href="#wx-symbol-comma-with-stroke" transform="translate(4, 0)"/></svg>`

Const drizzleFreezingSlight

drizzleFreezingSlight: "<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-squiggle-with-stroke" /><use xlink:href="#wx-symbol-comma-with-stroke" transform="translate(-4, 0)"/></svg>" = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-squiggle-with-stroke" /><use xlink:href="#wx-symbol-comma-with-stroke" transform="translate(-4, 0)"/></svg>`

Const drizzleHeavyContinuous

drizzleHeavyContinuous: "<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-comma-with-stroke" transform="translate(0, -5)"/><use xlink:href="#wx-symbol-comma-with-stroke" transform="translate(-4, 0)"/><use xlink:href="#wx-symbol-comma-with-stroke" transform="translate(4, 0)"/><use xlink:href="#wx-symbol-comma-with-stroke" transform="translate(0, 5)"/></svg>" = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-comma-with-stroke" transform="translate(0, -5)"/><use xlink:href="#wx-symbol-comma-with-stroke" transform="translate(-4, 0)"/><use xlink:href="#wx-symbol-comma-with-stroke" transform="translate(4, 0)"/><use xlink:href="#wx-symbol-comma-with-stroke" transform="translate(0, 5)"/></svg>`

Const drizzleHeavyIntermittent

drizzleHeavyIntermittent: "<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-comma-with-stroke" transform="translate(0, -6)"/><use xlink:href="#wx-symbol-comma-with-stroke" /><use xlink:href="#wx-symbol-comma-with-stroke" transform="translate(0, 6)"/></svg>" = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-comma-with-stroke" transform="translate(0, -6)"/><use xlink:href="#wx-symbol-comma-with-stroke" /><use xlink:href="#wx-symbol-comma-with-stroke" transform="translate(0, 6)"/></svg>`

Const drizzleModerateContinuous

drizzleModerateContinuous: "<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-comma-with-stroke" transform="translate(0, -3)"/><use xlink:href="#wx-symbol-comma-with-stroke" transform="translate(-4, 3)"/><use xlink:href="#wx-symbol-comma-with-stroke" transform="translate(4, 3)"/></svg>" = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-comma-with-stroke" transform="translate(0, -3)"/><use xlink:href="#wx-symbol-comma-with-stroke" transform="translate(-4, 3)"/><use xlink:href="#wx-symbol-comma-with-stroke" transform="translate(4, 3)"/></svg>`

Const drizzleModerateIntermittent

drizzleModerateIntermittent: "<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-comma-with-stroke" transform="translate(-3, 0)"/><use xlink:href="#wx-symbol-comma-with-stroke" transform="translate(3, 0)"/></svg>" = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-comma-with-stroke" transform="translate(-3, 0)"/><use xlink:href="#wx-symbol-comma-with-stroke" transform="translate(3, 0)"/></svg>`

Const drizzleSlightContinuous

drizzleSlightContinuous: "<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-comma-with-stroke" transform="translate(-3, 0)"/><use xlink:href="#wx-symbol-comma-with-stroke" transform="translate(3, 0)"/></svg>" = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-comma-with-stroke" transform="translate(-3, 0)"/><use xlink:href="#wx-symbol-comma-with-stroke" transform="translate(3, 0)"/></svg>`

Const drizzleSlightIntermittent

drizzleSlightIntermittent: "<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-comma-with-stroke"/></svg>" = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-comma-with-stroke"/></svg>`

Const dustOrSand

dustOrSand: "<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><line x1="12" x2="12" y1="4" y2="20" stroke="white" stroke-width="3" /><use xlink:href="#wx-symbol-s-with-stroke"/><line x1="12" x2="12" y1="4" y2="20" stroke="black" stroke-width="1.5" /><line x1="12" x2="12" y1="4" y2="20" stroke="red" stroke-width="1" /></svg>" = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><line x1="12" x2="12" y1="4" y2="20" stroke="white" stroke-width="3" /><use xlink:href="#wx-symbol-s-with-stroke"/><line x1="12" x2="12" y1="4" y2="20" stroke="black" stroke-width="1.5" /><line x1="12" x2="12" y1="4" y2="20" stroke="red" stroke-width="1" /></svg>`

Const haze

haze: "<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-haze" stroke-width="4" stroke="white" /><use xlink:href="#wx-symbol-haze" stroke-width="2" stroke="black"/><use xlink:href="#wx-symbol-haze" stroke-width="1" stroke="red"/></svg>" = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-haze" stroke-width="4" stroke="white" /><use xlink:href="#wx-symbol-haze" stroke-width="2" stroke="black"/><use xlink:href="#wx-symbol-haze" stroke-width="1" stroke="red"/></svg>`

Const heavyThunderstormWithRain

heavyThunderstormWithRain: "<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-raindrop-with-stroke" transform="translate(0,-8)" /><use xlink:href="#wx-symbol-heavy-thunderstorm-with-stroke" transform="translate(0, 4)" /></svg>" = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-raindrop-with-stroke" transform="translate(0,-8)" /><use xlink:href="#wx-symbol-heavy-thunderstorm-with-stroke" transform="translate(0, 4)" /></svg>`

Const iceCrystals

iceCrystals: "<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-ice-crystal-with-stroke" /></svg>" = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-ice-crystal-with-stroke" /></svg>`

Const icePellets

icePellets: "<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-ice-pellet" /></svg>" = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-ice-pellet" /></svg>`

Const lightFog

lightFog: "<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="wx-symbol-wx-symbol-light-fog"/></svg>" = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="wx-symbol-wx-symbol-light-fog"/></svg>`

Let mapPanes

mapPanes: MapPanes

Const parseDate

parseDate: parse = parse

Converts a string to a Date using date-fns.

Const pointLayers

pointLayers: string[] = ['air-quality', 'earthquakes', 'fires', 'records', 'river-observations', 'stormreports']

Const rainFreezingModerateOrHeavy

rainFreezingModerateOrHeavy: "<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-squiggle-with-stroke" /><use xlink:href="#wx-symbol-raindrop-with-stroke" transform="translate(-4, 0)"/><use xlink:href="#wx-symbol-raindrop-with-stroke" transform="translate(4, 0)"/></svg>" = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-squiggle-with-stroke" /><use xlink:href="#wx-symbol-raindrop-with-stroke" transform="translate(-4, 0)"/><use xlink:href="#wx-symbol-raindrop-with-stroke" transform="translate(4, 0)"/></svg>`

Const rainFreezingSlight

rainFreezingSlight: "<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-squiggle-with-stroke" /><use xlink:href="#wx-symbol-raindrop-with-stroke" transform="translate(-4, 0)"/></svg>" = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-squiggle-with-stroke" /><use xlink:href="#wx-symbol-raindrop-with-stroke" transform="translate(-4, 0)"/></svg>`

Const rainHeavyContinuous

rainHeavyContinuous: "<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-raindrop-with-stroke" transform="translate(0, -6)" /><use xlink:href="#wx-symbol-raindrop-with-stroke" transform="translate(-4, 0)" /><use xlink:href="#wx-symbol-raindrop-with-stroke" transform="translate(4, 0)" /><use xlink:href="#wx-symbol-raindrop-with-stroke" transform="translate(0, 6)" /></svg>" = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-raindrop-with-stroke" transform="translate(0, -6)" /><use xlink:href="#wx-symbol-raindrop-with-stroke" transform="translate(-4, 0)" /><use xlink:href="#wx-symbol-raindrop-with-stroke" transform="translate(4, 0)" /><use xlink:href="#wx-symbol-raindrop-with-stroke" transform="translate(0, 6)" /></svg>`

Const rainHeavyIntermittent

rainHeavyIntermittent: "<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-raindrop-with-stroke" transform="translate(0, -7)" /><use xlink:href="#wx-symbol-raindrop-with-stroke" /><use xlink:href="#wx-symbol-raindrop-with-stroke" transform="translate(0, 7)" /></svg>" = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-raindrop-with-stroke" transform="translate(0, -7)" /><use xlink:href="#wx-symbol-raindrop-with-stroke" /><use xlink:href="#wx-symbol-raindrop-with-stroke" transform="translate(0, 7)" /></svg>`

Const rainModerateContinuous

rainModerateContinuous: "<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-raindrop-with-stroke" transform="translate(0, -4)" /><use xlink:href="#wx-symbol-raindrop-with-stroke" transform="translate(-4, 3)" /><use xlink:href="#wx-symbol-raindrop-with-stroke" transform="translate(4, 3)" /></svg>" = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-raindrop-with-stroke" transform="translate(0, -4)" /><use xlink:href="#wx-symbol-raindrop-with-stroke" transform="translate(-4, 3)" /><use xlink:href="#wx-symbol-raindrop-with-stroke" transform="translate(4, 3)" /></svg>`

Const rainModerateIntermittent

rainModerateIntermittent: "<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-raindrop-with-stroke" transform="translate(0, -4)" /><use xlink:href="#wx-symbol-raindrop-with-stroke" transform="translate(0, 4)" /></svg>" = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-raindrop-with-stroke" transform="translate(0, -4)" /><use xlink:href="#wx-symbol-raindrop-with-stroke" transform="translate(0, 4)" /></svg>`

Const rainOrDrizzleAndSnowModerateOrHeavy

rainOrDrizzleAndSnowModerateOrHeavy: "<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-snowflake-with-stroke" transform="translate(0, -8)"/><use xlink:href="#wx-symbol-raindrop-with-stroke" /><use xlink:href="#wx-symbol-snowflake-with-stroke" transform="translate(0, 8)"/></svg>" = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-snowflake-with-stroke" transform="translate(0, -8)"/><use xlink:href="#wx-symbol-raindrop-with-stroke" /><use xlink:href="#wx-symbol-snowflake-with-stroke" transform="translate(0, 8)"/></svg>`

Const rainOrDrizzleAndSnowSlight

rainOrDrizzleAndSnowSlight: "<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-raindrop-with-stroke" transform="translate(0, -4)"/><use xlink:href="#wx-symbol-snowflake-with-stroke" transform="translate(0, 4)"/></svg>" = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-raindrop-with-stroke" transform="translate(0, -4)"/><use xlink:href="#wx-symbol-snowflake-with-stroke" transform="translate(0, 4)"/></svg>`

Const rainShowersModerateOrHeavy

rainShowersModerateOrHeavy: "<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-raindrop-with-stroke" transform="translate(0, -5)" fill="red"/><use xlink:href="#wx-symbol-triangle-down-with-wx-symbol-line-with-stroke" transform="translate(0, 1)" /></svg>" = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-raindrop-with-stroke" transform="translate(0, -5)" fill="red"/><use xlink:href="#wx-symbol-triangle-down-with-wx-symbol-line-with-stroke" transform="translate(0, 1)" /></svg>`

Const rainShowersSlight

rainShowersSlight: "<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-raindrop-with-stroke" transform="translate(0, -5)" fill="red"/><use xlink:href="#wx-symbol-triangle-down-with-stroke" transform="translate(0, 1)" /></svg>" = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-raindrop-with-stroke" transform="translate(0, -5)" fill="red"/><use xlink:href="#wx-symbol-triangle-down-with-stroke" transform="translate(0, 1)" /></svg>`

Const rainSlightContinuous

rainSlightContinuous: "<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-raindrop-with-stroke" transform="translate(-4, 0)" /><use xlink:href="#wx-symbol-raindrop-with-stroke" transform="translate(4, 0)" /></svg>" = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-raindrop-with-stroke" transform="translate(-4, 0)" /><use xlink:href="#wx-symbol-raindrop-with-stroke" transform="translate(4, 0)" /></svg>`

Const rainSlightIntermittent

rainSlightIntermittent: "<svg id="rain-slight-intermittent" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">// <use xlink:href="#wx-symbol-raindrop-with-stroke" /></svg>" = `<svg id="rain-slight-intermittent" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">// <use xlink:href="#wx-symbol-raindrop-with-stroke" /></svg>`

Const shapeLayers

shapeLayers: string[] = ['convective', 'drought-monitor', 'fire-outlook', 'tropical-cyclones-break-points']

Const slightThunderstormWithRain

slightThunderstormWithRain: "<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-raindrop-with-stroke" transform="translate(0,-8)"/><use xlink:href="#wx-symbol-light-thunderstorm-with-stroke" transform="translate(0, 4)" /></svg>" = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-raindrop-with-stroke" transform="translate(0,-8)"/><use xlink:href="#wx-symbol-light-thunderstorm-with-stroke" transform="translate(0, 4)" /></svg>`

Const smoke

smoke: "<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-smoke-with-stroke" /></svg>yeahsup" = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-smoke-with-stroke" /></svg>yeahsup`

Const snowContinuousSlight

snowContinuousSlight: "<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-snowflake-with-stroke" transform="translate(-5,0)"/><use xlink:href="#wx-symbol-snowflake-with-stroke" transform="translate(5,0)"/></svg>" = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-snowflake-with-stroke" transform="translate(-5,0)"/><use xlink:href="#wx-symbol-snowflake-with-stroke" transform="translate(5,0)"/></svg>`

Const snowHeavyContinuous

snowHeavyContinuous: "<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-snowflake-with-stroke" transform="translate(0,-7)"/><use xlink:href="#wx-symbol-snowflake-with-stroke" transform="translate(-5, 0)"/><use xlink:href="#wx-symbol-snowflake-with-stroke" transform="translate(5, 0)"/><use xlink:href="#wx-symbol-snowflake-with-stroke" transform="translate(0,7)"/></svg>" = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-snowflake-with-stroke" transform="translate(0,-7)"/><use xlink:href="#wx-symbol-snowflake-with-stroke" transform="translate(-5, 0)"/><use xlink:href="#wx-symbol-snowflake-with-stroke" transform="translate(5, 0)"/><use xlink:href="#wx-symbol-snowflake-with-stroke" transform="translate(0,7)"/></svg>`

Const snowHeavyIntermittent

snowHeavyIntermittent: "<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-snowflake-with-stroke" transform="translate(0,-8)"/><use xlink:href="#wx-symbol-snowflake-with-stroke"/><use xlink:href="#wx-symbol-snowflake-with-stroke" transform="translate(0,8)"/></svg>" = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-snowflake-with-stroke" transform="translate(0,-8)"/><use xlink:href="#wx-symbol-snowflake-with-stroke"/><use xlink:href="#wx-symbol-snowflake-with-stroke" transform="translate(0,8)"/></svg>`

Const snowIntermittentSlight

snowIntermittentSlight: "<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-snowflake-with-stroke" /></svg>" = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-snowflake-with-stroke" /></svg>`

Const snowModerateContinuous

snowModerateContinuous: "<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-snowflake-with-stroke" transform="translate(0, -5)"/><use xlink:href="#wx-symbol-snowflake-with-stroke" transform="translate(-5, 5)"/><use xlink:href="#wx-symbol-snowflake-with-stroke" transform="translate(5, 5)"/></svg>" = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-snowflake-with-stroke" transform="translate(0, -5)"/><use xlink:href="#wx-symbol-snowflake-with-stroke" transform="translate(-5, 5)"/><use xlink:href="#wx-symbol-snowflake-with-stroke" transform="translate(5, 5)"/></svg>`

Const squalls

squalls: "<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><polygon id="wx-symbol-chevron" points="6,8 12,12 18,8 12,18" fill="transparent" stroke-linejoin="round"/></defs><use xlink:href="#wx-symbol-chevron" stroke="white" stroke-width="4" /><use xlink:href="#wx-symbol-chevron" stroke="black" stroke-width="2" /><use xlink:href="#wx-symbol-chevron" stroke="red" stroke-width="1" /></svg>" = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><polygon id="wx-symbol-chevron" points="6,8 12,12 18,8 12,18" fill="transparent" stroke-linejoin="round"/></defs><use xlink:href="#wx-symbol-chevron" stroke="white" stroke-width="4" /><use xlink:href="#wx-symbol-chevron" stroke="black" stroke-width="2" /><use xlink:href="#wx-symbol-chevron" stroke="red" stroke-width="1" /></svg>`

Const textLayers

textLayers: string[] = ['observations']

Const toString

toString: toString = ({}).toString

Const tornado

tornado: "<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g id="wx-symbol-tornado-curve"><path d="M 4 20, C 8 20, 6 18, 8 16 L 8 8 C 6 4, 8 6, 4 4" fill="transparent" stroke-width="1" stroke="black"/></g><use xlink:href="#wx-symbol-tornado-curve" fill="transparent" stroke-width="1" stroke="black" /><path d="M 4 20, C 8 20, 6 18, 8 16 L 8 8 C 6 4, 8 6, 4 4" fill="transparent" stroke-width="1" stroke="black" transform="translate(2, 0)"/><path d="M 4 20, C 8 20, 6 18, 8 16 L 8 8 C 6 4, 8 6, 4 4" fill="transparent" stroke-width="1" stroke="black" transform="rotate(180, 12, 12) translate(2, 0)"/></svg>" = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g id="wx-symbol-tornado-curve"><path d="M 4 20, C 8 20, 6 18, 8 16 L 8 8 C 6 4, 8 6, 4 4" fill="transparent" stroke-width="1" stroke="black"/></g><use xlink:href="#wx-symbol-tornado-curve" fill="transparent" stroke-width="1" stroke="black" /><path d="M 4 20, C 8 20, 6 18, 8 16 L 8 8 C 6 4, 8 6, 4 4" fill="transparent" stroke-width="1" stroke="black" transform="translate(2, 0)"/><path d="M 4 20, C 8 20, 6 18, 8 16 L 8 8 C 6 4, 8 6, 4 4" fill="transparent" stroke-width="1" stroke="black" transform="rotate(180, 12, 12) translate(2, 0)"/></svg>`

Const vectorLayers

vectorLayers: string[] = pointLayers.concat(shapeLayers).concat(['stormcells','tropical-cyclones'])

Const virga

virga: "<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-raindrop-with-stroke" /><use xlink:href="#wx-symbol-curve-with-stroke2" stroke="red" stroke-width="2"/></svg>" = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><use xlink:href="#wx-symbol-raindrop-with-stroke" /><use xlink:href="#wx-symbol-curve-with-stroke2" stroke="red" stroke-width="2"/></svg>`

Functions

Const addLayerButton

Const addWeatherLayer

  • addWeatherLayer(controller: any, code: string, __namedParameters?: { beforeId: any; options: options }): void
  • Parameters

    • controller: any
    • code: string
    • Default value __namedParameters: { beforeId: any; options: options } = {}

    Returns void

Const adjustDate

  • adjustDate(date: Date, tzoffset?: number): Date
  • Parameters

    • date: Date
    • Default value tzoffset: number = null

    Returns Date

Const apiRequestForConfig

  • Parameters

    • account: Account
    • config: { request?: { action?: ApiAction; endpoint?: string; parameters?: any; server?: string }; service?: ApiRequest }
      • Optional request?: { action?: ApiAction; endpoint?: string; parameters?: any; server?: string }
        • Optional action?: ApiAction
        • Optional endpoint?: string
        • Optional parameters?: any
        • Optional server?: string
      • Optional service?: ApiRequest

    Returns ApiRequest

Const apiResultFromResponse

  • Parameters

    • res: any

    Returns ApiResult

Const assetInfoView

  • assetInfoView(onViewClick?: (info: any) => void): { id: string; requiresData: boolean; data: any; init: any; renderer: any }
  • Parameters

    • Optional onViewClick: (info: any) => void
        • (info: any): void
        • Parameters

          • info: any

          Returns void

    Returns { id: string; requiresData: boolean; data: any; init: any; renderer: any }

    • id: string
    • requiresData: boolean
    • data: function
      • data(data: any): any
      • Parameters

        • data: any

        Returns any

    • init: function
      • Parameters

        Returns void

    • renderer: function
      • renderer(data: any): string
      • Parameters

        • data: any

        Returns string

Const boundsAdjustedForAnchor

Const boundsFromCoords

  • Generates a coordinate bounds object type from the array of coordinates.

    Parameters

    Returns GeoBounds

Const boundsStrFromCenter

  • boundsStrFromCenter(lat: number, lon: number, zoom: number, size: Size): string
  • Parameters

    • lat: number
    • lon: number
    • zoom: number
    • size: Size

    Returns string

Const brightness

  • brightness(color: any): number
  • Returns the brightness of the specified color value.

    The value for color can either be a color string or an RGB, HSV or HSL object.

    Parameters

    • color: any

    Returns number

Const build

  • build(startY: number, windSpeed: number, strokeColor: string, strokeWidth: number, lineCap: string): string
  • Parameters

    • startY: number
    • windSpeed: number
    • strokeColor: string
    • strokeWidth: number
    • lineCap: string

    Returns string

Const buildRequestUrl

  • buildRequestUrl(account: Account, bounds: any, params: any): string
  • Parameters

    • account: Account
    • bounds: any
    • params: any

    Returns string

Const buttonIdentifier

  • buttonIdentifier(id: string): string
  • Parameters

    • id: string

    Returns string

Const calm

  • calm(__namedParameters?: { radius: number; strokeColor: string }): string
  • Parameters

    • Default value __namedParameters: { radius: number; strokeColor: string } = {}
      • radius: number
      • strokeColor: string

    Returns string

Const camelcase

  • camelcase(str: string): string
  • Returns a new string by converting the specified string to camelcase.

    Parameters

    • str: string

    Returns string

Const circle

  • circle(__namedParameters?: { fill: string; radius: number; strokeColor: string; strokeWidth: number; x: number; y: number }): string
  • Parameters

    • Default value __namedParameters: { fill: string; radius: number; strokeColor: string; strokeWidth: number; x: number; y: number } = {}
      • fill: string
      • radius: number
      • strokeColor: string
      • strokeWidth: number
      • x: number
      • y: number

    Returns string

Const clamp

  • clamp(value: number, min: number, max: number): number
  • Constrain a value to lie between two values.

    Parameters

    • value: number
    • min: number
    • max: number

    Returns number

Const cloneDeep

  • cloneDeep(obj: any): any
  • Parameters

    • obj: any

    Returns any

Const close

  • close(): string
  • Returns string

Const color

  • color(code?: string): string
  • color(code: string): string
  • Parameters

    • Default value code: string = ""

    Returns string

  • Parameters

    • code: string

    Returns string

Const colorScale

  • colorScale(start: RGB | string, end: RGB | string, steps: number): RGB[]
  • Generates an array of linearly interpolated color values defined by starting and ending color values and the total number of color stops, or steps, in the scale.

    Parameters

    • start: RGB | string
    • end: RGB | string
    • steps: number

    Returns RGB[]

Const configForLayer

  • configForLayer(layer: string): any
  • Parameters

    • layer: string

    Returns any

Const configureForecastRequest

  • configureForecastRequest(request: ApiRequest, loc: string, timestamp: Date | number): { date: Date; request: ApiRequest }
  • Parameters

    • request: ApiRequest
    • loc: string
    • timestamp: Date | number

    Returns { date: Date; request: ApiRequest }

Const configureRouteRequest

  • configureRouteRequest(request: ApiRequest, dataType: string, endpoint: string, points: any[]): void
  • Parameters

    • request: ApiRequest
    • dataType: string
    • endpoint: string
    • points: any[]

    Returns void

Const convertCoordsToGeoJSON

  • convertCoordsToGeoJSON(coords: Coordinate[], distance?: number, duration?: number): { distance: number; points: any[] }
  • Parameters

    • coords: Coordinate[]
    • Default value distance: number = 0
    • Default value duration: number = 0

    Returns { distance: number; points: any[] }

    • distance: number
    • points: any[]

Const convertPointsToFeatures

  • convertPointsToFeatures(points: any[]): Feature[]
  • Parameters

    • points: any[]

    Returns Feature[]

Const countries

  • countries(): {}
  • Returns a country collection keyed by two-letter country abbreviation.

    Returns {}

    • [key: string]: string

Const coverageCodeForPercent

  • coverageCodeForPercent(percent: number): number
  • Parameters

    • percent: number

    Returns number

Const createAerisSource

  • createAerisSource(layer: string, config?: any, factory: OverlayFactory, layersMetadata: Layers): any
  • Parameters

    Returns any

Const createButton

  • Parameters

    Returns any

  • Parameters

    Returns ButtonOptions

Const createButtonGroup

Const createCancelToken

  • createCancelToken(): { cancel: () => void; isCancel: (e: any) => boolean; source: CancelTokenSource; token: AxiosCancelToken }
  • Returns { cancel: () => void; isCancel: (e: any) => boolean; source: CancelTokenSource; token: AxiosCancelToken }

    • cancel: () => void
        • (): void
        • Returns void

    • isCancel: (e: any) => boolean
        • (e: any): boolean
        • Parameters

          • e: any

          Returns boolean

    • source: CancelTokenSource
    • token: AxiosCancelToken

Const createGeoJsonSource

Const createGeometry

  • Parameters

    • data: any

    Returns Geometry

Const createPoint

  • createPoint(coord: LatLonValue, properties?: any): any
  • Parameters

    • coord: LatLonValue
    • Default value properties: any = {}

    Returns any

Const createSegmentedButton

Const createSource

  • createSource(identifier: string, type: string, config: any, factory: OverlayFactory): any
  • Parameters

    Returns any

Const createTextSource

Const createTileSource

Const createVectorSource

Const dataTypeForProp

  • dataTypeForProp(prop: string): string
  • Parameters

    • prop: string

    Returns string

Const dateFromISO

  • dateFromISO(isoDate: string): Date
  • Parameters

    • isoDate: string

    Returns Date

Const debounce

  • debounce<F>(fn: F, wait: number, isImmediate?: boolean): F
  • Type parameters

    Parameters

    • fn: F
    • wait: number
    • Default value isImmediate: boolean = false

    Returns F

Const degToRad

  • degToRad(degrees: number): number
  • Parameters

    • degrees: number

    Returns number

extend

  • extend(...args: any[]): any
  • Parameters

    • Rest ...args: any[]

    Returns any

Const filterWaypoints

  • Parameters

    Returns any[]

Const findMatch

  • findMatch(code: string, collection: {}, fallback?: string): string
  • Parameters

    • code: string
    • collection: {}
      • [key: string]: string[]
    • Default value fallback: string = null

    Returns string

Const flags

  • flags(startY: number, windSpeed: number, windGust: number): string
  • Parameters

    • startY: number
    • windSpeed: number
    • windGust: number

    Returns string

Const flatten

  • flatten(arr: any[], result?: any[]): any[]
  • Parameters

    • arr: any[]
    • Default value result: any[] = []

    Returns any[]

Const flipForSouthernLat

  • flipForSouthernLat(code: string): boolean
  • Parameters

    • code: string

    Returns boolean

Const formatControlOpts

  • formatControlOpts(opts: any, overrides: any): any
  • Parameters

    • opts: any
    • overrides: any

    Returns any

Const formatDataValue

  • formatDataValue(data: any, key: string, metricKey?: string, isMetric?: boolean): string
  • Parameters

    • data: any
    • key: string
    • Default value metricKey: string = null
    • Default value isMetric: boolean = false

    Returns string

Const formatDate

  • formatDate(date: Date, formatStr: string): string
  • Formats a date to a string using date-fns.

    Parameters

    • date: Date
    • formatStr: string

    Returns string

Const formatDirections

  • formatDirections(str: string): string
  • Parameters

    • str: string

    Returns string

Const formatLayerOptions

  • formatLayerOptions(opts: Record<string, any>): LeafletPolygonLayerOptions
  • formatLayerOptions(opts: Record<string, any>): Record<string, any>
  • formatLayerOptions(opts: Record<string, any>): Record<string, any>
  • formatLayerOptions(opts: Record<string, any>): GooglePolygonLayerOptions
  • Parameters

    • opts: Record<string, any>

    Returns LeafletPolygonLayerOptions

  • Parameters

    • opts: Record<string, any>

    Returns Record<string, any>

  • Parameters

    • opts: Record<string, any>

    Returns Record<string, any>

  • Parameters

    • opts: Record<string, any>

    Returns GooglePolygonLayerOptions

Const formatMeasurement

  • formatMeasurement(value: any, prop: string, isMetric?: boolean, includeUnits?: boolean, defaultValue?: string, unitsTemplate?: string): string
  • Parameters

    • value: any
    • prop: string
    • Default value isMetric: boolean = false
    • Default value includeUnits: boolean = false
    • Default value defaultValue: string = "--"
    • Default value unitsTemplate: string = null

    Returns string

Const formatName

  • formatName(str: string): string
  • Parameters

    • str: string

    Returns string

Const formatNumber

  • formatNumber(value: number, places?: number, decimal?: string, thousands?: string): string
  • Parameters

    • value: number
    • Default value places: number = 0
    • Default value decimal: string = "."
    • Default value thousands: string = ","

    Returns string

Const formatStormData

  • formatStormData(data: any): any
  • Parameters

    • data: any

    Returns any

Const fraction

  • fraction(value: number | string, min: number, max: number): number
  • Takes a value from [min, max] and returns it as [0, 1].

    Parameters

    • value: number | string
    • min: number
    • max: number

    Returns number

Const generateLineSegments

  • generateLineSegments(points: any, groupKeyPath: string, coordFn: (point: any) => any): LineSegment[]
  • Parameters

    • points: any
    • groupKeyPath: string
    • coordFn: (point: any) => any
        • (point: any): any
        • Parameters

          • point: any

          Returns any

    Returns LineSegment[]

Const generateMarker

Const generatePolygon

Const generatePolyline

Const generateRouteData

Const generateRouteFeatures

  • generateRouteFeatures(routeId: string, points: any, routeData: RouteData): any[]
  • Parameters

    • routeId: string
    • points: any
    • routeData: RouteData

    Returns any[]

Const geoDistance

Const get

  • get(obj: any, path: string, fallbackValue?: any): any

Const getAlertTypeName

  • getAlertTypeName(alertType?: any): "Tropical Storm Watch" | "Tropical Storm Warning" | "Hurricane Watch" | "Hurricane Warning"
  • Parameters

    • Default value alertType: any = ""

    Returns "Tropical Storm Watch" | "Tropical Storm Warning" | "Hurricane Watch" | "Hurricane Warning"

Const getColor

  • getColor(code: string): string
  • getColor(code: string): string
  • getColor(type: string, data: any): string
  • Parameters

    • code: string

    Returns string

  • Parameters

    • code: string

    Returns string

  • Parameters

    • type: string
    • data: any

    Returns string

Const getColorScale

  • getColorScale(type: string): any[]
  • Parameters

    • type: string

    Returns any[]

Const getDataFetcher

  • getDataFetcher(__namedParameters: { dataKeypath: string; restrictToTimeline: boolean; service: ApiRequest | (() => ApiRequest); url: string | ((params: any) => string); onError: any; onLoad: any }): DataFetcher
  • Parameters

    • __namedParameters: { dataKeypath: string; restrictToTimeline: boolean; service: ApiRequest | (() => ApiRequest); url: string | ((params: any) => string); onError: any; onLoad: any }
      • dataKeypath: string
      • restrictToTimeline: boolean
      • service: ApiRequest | (() => ApiRequest)
      • url: string | ((params: any) => string)
      • onError: function
        • onError(): void
        • Returns void

      • onLoad: function
        • onLoad(): void
        • Returns void

    Returns DataFetcher

Const getElementStyle

  • getElementStyle(style: any, record?: any): ShapeStyle
  • Parameters

    • style: any
    • Default value record: any = {}

    Returns ShapeStyle

Const getEndpointForDataType

  • getEndpointForDataType(type: string): string
  • Parameters

    • type: string

    Returns string

Const getInvalidLayers

  • getInvalidLayers(layer: string): Array<string>
  • Parameters

    • layer: string

    Returns Array<string>

Const getLocationData

  • getLocationData(point: LatLonValue, place?: any): any
  • Parameters

    Returns any

Const getMapAppDefaults

Const getMarkerOpts

  • getMarkerOpts(type: string): any
  • Parameters

    • type: string

    Returns any

Const getMarkerStyle

  • Parameters

    Returns MarkerStyle

Const getOpacityValue

  • getOpacityValue(style?: any): number
  • Parameters

    • Default value style: any = {}

    Returns number

Const getPinnedPosition

Const getPropForDataType

  • getPropForDataType(type: string): string
  • Parameters

    • type: string

    Returns string

Const getRequestParams

  • getRequestParams(value: string | any): any
  • Parameters

    • value: string | any

    Returns any

Const getSourceId

  • getSourceId(id: string): string
  • Parameters

    • id: string

    Returns string

Const getStormMarkerConfig

  • Parameters

    • data: any

    Returns MarkerStyle

Const getStormTypeName

  • getStormTypeName(type?: string): "Tropical Wave" | "Disturbance" | "Invest" | "Extratropical Low" | "Low" | "Tropical Depression" | "Tropical Storm" | "Hurricane" | "Category 1 Hurricane" | "Category 2 Hurricane" | "Category 3 Hurricane" | "Category 4 Hurricane" | "Category 5 Hurricane" | "Typhoon" | "Super Typhoon"
  • Parameters

    • Default value type: string = ""

    Returns "Tropical Wave" | "Disturbance" | "Invest" | "Extratropical Low" | "Low" | "Tropical Depression" | "Tropical Storm" | "Hurricane" | "Category 1 Hurricane" | "Category 2 Hurricane" | "Category 3 Hurricane" | "Category 4 Hurricane" | "Category 5 Hurricane" | "Typhoon" | "Super Typhoon"

Const getTropMarkerContent

  • getTropMarkerContent(data: any): string
  • Parameters

    • data: any

    Returns string

Const getWindFieldColor

  • getWindFieldColor(speedKTS: any): any
  • Parameters

    • speedKTS: any

    Returns any

Const getWindsFormatted

  • getWindsFormatted(data: any, metric?: boolean): string
  • Parameters

    • data: any
    • Default value metric: boolean = false

    Returns string

Const hand

  • hand(__namedParameters?: { rotation: number; strokeColor: string; strokeWidth: number; x1: number; x2: number; y1: number; y2: number }): string
  • Parameters

    • Default value __namedParameters: { rotation: number; strokeColor: string; strokeWidth: number; x1: number; x2: number; y1: number; y2: number } = {}
      • rotation: number
      • strokeColor: string
      • strokeWidth: number
      • x1: number
      • x2: number
      • y1: number
      • y2: number

    Returns string

Const handleGoToMarker

  • handleGoToMarker(event: MouseEvent, handler: (data: any) => void): void
  • Parameters

    • event: MouseEvent
    • handler: (data: any) => void
        • (data: any): void
        • Parameters

          • data: any

          Returns void

    Returns void

Const has

  • has(obj: any, path: string): boolean
  • Parameters

    • obj: any
    • path: string

    Returns boolean

Const hasKeys

  • hasKeys(obj: any, keys: string[]): boolean
  • Parameters

    • obj: any
    • keys: string[]

    Returns boolean

Const hexToRgb

  • hexToRgb(hex: string): RGB
  • Converts the specified hex color string to an RGB object.

    Returns { r, g, b } in the set [0, 255].

    Parameters

    • hex: string

    Returns RGB

Const hslToRgb

  • Converts an HSL color value to RGB.

    Assumes h is contained in the set [0, 360] or [0, 1] and s and l are contained in the set [0, 100] or [0, 1]. Returns { r, g, b } in the set [0, 255].

    Parameters

    Returns RGB

Const hsvToRgb

  • Converts an HSV color value to RGB.

    Assumes h is contained in the set [0, 360] or [0, 1] and s and v are contained in the set [0, 100] or [0, 1]. Returns { r, g, b } in the set [0, 255].

    Parameters

    Returns RGB

Const hyphenate

  • hyphenate(str: string): string
  • Returns a new string by converting a camelcase string to hyphenated.

    Parameters

    • str: string

    Returns string

Const icon

  • icon(code?: string): string
  • Parameters

    • Default value code: string = ""

    Returns string

Const identifierForLayer

  • identifierForLayer(layer: string): string
  • Parameters

    • layer: string

    Returns string

Const insetBounds

  • Parameters

    • bounds: Bounds
    • Default value inset: number = 0

    Returns Bounds

Const intersects

  • intersects(bounds1: Bounds, bounds2: Bounds, any?: boolean): boolean
  • Parameters

    • bounds1: Bounds
    • bounds2: Bounds
    • Default value any: boolean = false

    Returns boolean

Const interval

  • interval(value: number, int: number): number
  • Parameters

    • value: number
    • int: number

    Returns number

Const isArray

  • isArray(value: any): boolean
  • Parameters

    • value: any

    Returns boolean

Const isBoolean

  • isBoolean(value: any): boolean
  • Parameters

    • value: any

    Returns boolean

Const isBottomPinned

  • Parameters

    Returns boolean

Const isCancel

  • isCancel(e: any): boolean
  • Parameters

    • e: any

    Returns boolean

Const isCenterPinned

  • Parameters

    Returns boolean

Const isCoord

  • isCoord(str: string): boolean
  • Parameters

    • str: string

    Returns boolean

Const isCoordObject

  • isCoordObject(value: any): boolean
  • Parameters

    • value: any

    Returns boolean

Const isDOM

  • isDOM(value: any): boolean
  • Parameters

    • value: any

    Returns boolean

Const isDate

  • isDate(obj: any): boolean
  • Parameters

    • obj: any

    Returns boolean

Const isEmpty

  • isEmpty(obj: any): boolean
  • Parameters

    • obj: any

    Returns boolean

Const isFunction

  • isFunction(value: any): boolean
  • Parameters

    • value: any

    Returns boolean

Const isGoogle

  • isGoogle(value: any): boolean
  • Parameters

    • value: any

    Returns boolean

Const isHSL

  • isHSL(value: any): boolean
  • Parameters

    • value: any

    Returns boolean

Const isHSV

  • isHSV(value: any): boolean
  • Parameters

    • value: any

    Returns boolean

Const isHTMLElement

  • isHTMLElement(value: any): boolean
  • Parameters

    • value: any

    Returns boolean

Const isLeaflet

  • isLeaflet(value: any): boolean
  • Parameters

    • value: any

    Returns boolean

Const isLeftPinned

  • Parameters

    Returns boolean

Const isLight

  • isLight(color: string | RGB): boolean
  • Returns whether the specified color is light based on its luminance.

    The value for color can either be a color string or an RGB, HSV or HSL object.

    Parameters

    • color: string | RGB

    Returns boolean

Const isMapbox

  • isMapbox(value: any): boolean
  • Parameters

    • value: any

    Returns boolean

Const isMaplibre

  • isMaplibre(value: any): boolean
  • Parameters

    • value: any

    Returns boolean

Const isMapsGLLayer

  • isMapsGLLayer(value: string): boolean
  • Parameters

    • value: string

    Returns boolean

Const isMergebleObject

  • isMergebleObject(value: any): boolean
  • Parameters

    • value: any

    Returns boolean

Const isMiddlePinned

  • Parameters

    Returns boolean

Const isModule

  • isModule(key: string): boolean
  • Parameters

    • key: string

    Returns boolean

Const isNull

  • isNull(obj: any): boolean
  • Parameters

    • obj: any

    Returns boolean

Const isNumber

  • isNumber(obj: any): boolean
  • Parameters

    • obj: any

    Returns boolean

Const isNumeric

  • isNumeric(obj: any): boolean
  • Parameters

    • obj: any

    Returns boolean

Const isObject

  • isObject(value: any): boolean
  • Parameters

    • value: any

    Returns boolean

Const isOpenLayers

  • isOpenLayers(value: any): boolean
  • Parameters

    • value: any

    Returns boolean

Const isPercentage

  • isPercentage(str: string): boolean
  • Parameters

    • str: string

    Returns boolean

Const isPlainObject

  • isPlainObject(value: any): boolean
  • Parameters

    • value: any

    Returns boolean

Const isPoint

  • isPoint(layer: string): boolean
  • Parameters

    • layer: string

    Returns boolean

Const isPromise

  • isPromise(value: any): boolean
  • Parameters

    • value: any

    Returns boolean

Const isRGB

  • isRGB(value: any): boolean

Const isRightPinned

  • Parameters

    Returns boolean

Const isShape

  • isShape(layer: string): boolean
  • Parameters

    • layer: string

    Returns boolean

Const isString

  • isString(obj: any): boolean
  • Parameters

    • obj: any

    Returns boolean

Const isText

  • isText(layer: string): boolean
  • Parameters

    • layer: string

    Returns boolean

Const isTile

  • isTile(layer: string): boolean
  • Parameters

    • layer: string

    Returns boolean

Const isTopPinned

  • Parameters

    Returns boolean

Const isUndefined

  • isUndefined(obj: any): boolean
  • Parameters

    • obj: any

    Returns boolean

Const isValidCoord

  • isValidCoord(value: { lat: number; lon: number }): boolean
  • Parameters

    • value: { lat: number; lon: number }
      • lat: number
      • lon: number

    Returns boolean

Const isValidHex

  • isValidHex(hex: string): boolean
  • Parameters

    • hex: string

    Returns boolean

Const isValidKey

  • isValidKey(key: string): boolean
  • Parameters

    • key: string

    Returns boolean

Const isValidLayer

  • isValidLayer(layer: string): boolean
  • Parameters

    • layer: string

    Returns boolean

Const isVector

  • isVector(layer: string): boolean
  • Parameters

    • layer: string

    Returns boolean

Const isZipcode

  • isZipcode(str: string): boolean
  • Parameters

    • str: string

    Returns boolean

Const isset

  • isset(obj: any): boolean
  • Parameters

    • obj: any

    Returns boolean

Const legends

  • legends(): string
  • Returns string

Const lerp

  • lerp(a: number, b: number, fraction: number): number
  • Linearly interpolate between two values.

    Parameters

    • a: number

      Start value of the range

    • b: number

      End value of the range

    • fraction: number

      Weight value used to interpolate between a and b.

    Returns number

Const line

  • line(x1: number, y1: number, x2: number, y2: number): string
  • Parameters

    • x1: number
    • y1: number
    • x2: number
    • y2: number

    Returns string

Const loadDependencies

  • loadDependencies(key: string): Promise<void>
  • Parameters

    • key: string

    Returns Promise<void>

Const loadMapModuleConfig

  • loadMapModuleConfig(namespace: string, callback: (id: string, config: any, module: any) => void): void
  • Parameters

    • namespace: string
    • callback: (id: string, config: any, module: any) => void
        • (id: string, config: any, module: any): void
        • Parameters

          • id: string
          • config: any
          • module: any

          Returns void

    Returns void

Const loadScript

  • loadScript(src: string): Promise<any>
  • Parameters

    • src: string

    Returns Promise<any>

Const loadStyles

  • loadStyles(src: string): Promise<any>
  • Parameters

    • src: string

    Returns Promise<any>

loader

  • loader(): Promise<any>
  • Returns Promise<any>

Const luminance

  • luminance(color: any): number
  • Returns the luminance of the specified color value.

    The value for color can either be a color string or an RGB, HSV or HSL object.

    Parameters

    • color: any

    Returns number

Const mapRequestForConfig

  • Parameters

    Returns MapRequest

Const mapTimestampFromDate

  • mapTimestampFromDate(date: Date): string
  • Parameters

    • date: Date

    Returns string

Const maplibreBasePath

  • maplibreBasePath(version: string): string
  • Parameters

    • version: string

    Returns string

Const markerIconFromStyle

  • Parameters

    Returns Icon | DivIcon

  • Parameters

    Returns HTMLElement

  • Parameters

    Returns Icon

  • Parameters

    Returns Icon

Const merge

  • merge<T>(target: T, ...sources: T[]): T
  • Type parameters

    • T: any

    Parameters

    • target: T
    • Rest ...sources: T[]

    Returns T

Const mergeUnique

  • mergeUnique(arr1: any, arr2: any): any
  • Parameters

    • arr1: any
    • arr2: any

    Returns any

Const missing

  • missing(__namedParameters?: { strokeColor: string; strokeWidth: number }): string
  • Parameters

    • Default value __namedParameters: { strokeColor: string; strokeWidth: number } = {}
      • strokeColor: string
      • strokeWidth: number

    Returns string

Const mix

  • mix(start: any, end: any, ratio: number): RGB
  • Returns a new color as RGB by linearly interpolating between two color values.

    Parameters

    • start: any

      Starting color value

    • end: any

      Ending color value

    • ratio: number

      Value to use to interpolate between in the set [0, 1]

    Returns RGB

modulesLoader

  • modulesLoader(callback?: any): Promise<any>
  • Parameters

    • Optional callback: any

    Returns Promise<any>

Const normalize

  • Parameters

    • params: any

    Returns any

  • Parameters

    Returns Coordinate

Const obscured

  • obscured(__namedParameters?: { fill: string; radius: number; rotation: number; strokeColor: string; strokeWidth: number; x: number; y: number }): string
  • Parameters

    • Default value __namedParameters: { fill: string; radius: number; rotation: number; strokeColor: string; strokeWidth: number; x: number; y: number } = {}
      • fill: string
      • radius: number
      • rotation: number
      • strokeColor: string
      • strokeWidth: number
      • x: number
      • y: number

    Returns string

Const offsetToTime

  • offsetToTime(str: string): number
  • Parameters

    • str: string

    Returns number

Const parse

  • parse(str: string, vars: {}): string
  • Parameters

    • str: string
    • vars: {}
      • [key: string]: any

    Returns string

Const pick

  • pick(obj: any, paths: string[]): any
  • Parameters

    • obj: any
    • paths: string[]

    Returns any

Const pickBy

  • pickBy(obj: any, predicate: Function): any
  • Parameters

    • obj: any
    • predicate: Function

    Returns any

Const pie

  • pie(__namedParameters?: { fill: string; fillPercentage: number; radius: number; rotation: number; strokeColor: string; strokeWidth: number; x: number; y: number }): string
  • Parameters

    • Default value __namedParameters: { fill: string; fillPercentage: number; radius: number; rotation: number; strokeColor: string; strokeWidth: number; x: number; y: number } = {}
      • fill: string
      • fillPercentage: number
      • radius: number
      • rotation: number
      • strokeColor: string
      • strokeWidth: number
      • x: number
      • y: number

    Returns string

Const positionInfoForEvent

  • Parameters

    • e: MouseEvent | TouchEvent

    Returns EventPositionInfo

Const prefixCSSClassName

  • prefixCSSClassName(className: string): string
  • Parameters

    • className: string

    Returns string

Const radToDeg

  • radToDeg(radians: number): number
  • Parameters

    • radians: number

    Returns number

Const random

  • random(min: number, max: number): number
  • Parameters

    • min: number
    • max: number

    Returns number

Const randomColor

  • randomColor(): RGB
  • Returns a random color as RGB.

    Returns RGB

Const readability

  • readability(color1: any, color2: any): number
  • Analyze the two colors and return the color contrast defined by WCAG version 2.

    Parameters

    • color1: any
    • color2: any

    Returns number

Const removeWeatherLayer

  • removeWeatherLayer(controller: any, code: string): void
  • Parameters

    • controller: any
    • code: string

    Returns void

Const renderLocation

  • renderLocation(type: "major" | "waypoint", data: any, includesDuration?: boolean): string
  • Parameters

    • type: "major" | "waypoint"
    • data: any
    • Default value includesDuration: boolean = true

    Returns string

Const renderWithFallback

  • renderWithFallback(renderer: (data: any) => string, data: any, fallback?: string): string
  • Parameters

    • renderer: (data: any) => string
        • (data: any): string
        • Parameters

          • data: any

          Returns string

    • data: any
    • Default value fallback: string = ""

    Returns string

Const replace

  • replace(target: any[], value: any, replacement: any): void
  • Parameters

    • target: any[]
    • value: any
    • replacement: any

    Returns void

Const rgbToHex

  • rgbToHex(rgb: RGB): string
  • Converts an RGB color to a hex string.

    Assumes r, g, and b are contained in the set [0, 255].

    Parameters

    Returns string

Const rgbToHsl

  • Converts an RGB color value to HSL.

    Assumes r, g, and b are contained in the set [0, 255] or [0, 1]. Returns { h, s, l } in the set [0, 1].

    Parameters

    Returns HSL

Const rgbToHsv

  • Converts an RGB color value to HSV.

    Assumes r, g, and b are contained in the set [0, 255] or [0, 1]. Returns { h, s, v } in the set [0, 1].

    Parameters

    Returns HSV

Const roundToInterval

  • roundToInterval(value: number, int: number): number
  • Parameters

    • value: number
    • int: number

    Returns number

Const routeInfoView

  • routeInfoView(onViewClick?: (info: any) => void): { id: string; requiresData: boolean; data: any; init: any; renderer: any; request: any }
  • Parameters

    • Optional onViewClick: (info: any) => void
        • (info: any): void
        • Parameters

          • info: any

          Returns void

    Returns { id: string; requiresData: boolean; data: any; init: any; renderer: any; request: any }

    • id: string
    • requiresData: boolean
    • data: function
      • data(data: any): any
      • Parameters

        • data: any

        Returns any

    • init: function
      • Parameters

        Returns void

    • renderer: function
      • renderer(data: any): string
      • Parameters

        • data: any

        Returns string

    • request: function
      • Parameters

        Returns ApiRequest

Const scrollBarWidth

  • scrollBarWidth(): number
  • Returns number

Const secondsToString

  • secondsToString(value: number, includeSeconds?: boolean): string
  • Parameters

    • value: number
    • Default value includeSeconds: boolean = false

    Returns string

Const set

  • set(obj: any, path: string, val: any): any

Const setupMapsGL

  • Parameters

    • mapsgl: any
    • app: InteractiveMapApp
    • Default value options: Partial<MapsGLMapOptions> = {}
    • callback: (controller: any) => void
        • (controller: any): void
        • Parameters

          • controller: any

          Returns void

    Returns void

Const skycover

  • skycover(code: number, color?: string): string
  • Parameters

    • code: number
    • Default value color: string = "#000"

    Returns string

Const states

  • states(): {}
  • Returns a states collection keyed by country (us or ca) and the two-letter state abbreviation.

    Returns {}

    • [key: string]: {}
      • [key: string]: string

Const text

  • text(value: string, x: number, y: number, opts?: any): string
  • Parameters

    • value: string
    • x: number
    • y: number
    • Optional opts: any

    Returns string

Const timestampFromDate

  • timestampFromDate(date: Date): string
  • Parameters

    • date: Date

    Returns string

Const toArray

  • toArray(str: string): string[]
  • Parameters

    • str: string

    Returns string[]

Const toBool

  • toBool(value: any): boolean
  • Parameters

    • value: any

    Returns boolean

Const toBounds

  • toBounds(bounds: GeoBounds, places?: number): string
  • Converts the specified coordinate bounds object to a string whose values are rounded to the nearest decimal place according to places.

    Parameters

    • bounds: GeoBounds
    • Default value places: number = 3

    Returns string

Const toCodeArray

  • toCodeArray(value?: string | string[] | Layer[]): string[]
  • Parameters

    • Optional value: string | string[] | Layer[]

    Returns string[]

Const toCoord

  • toCoord(lat: number, lon: number, places?: number): string
  • Converts the specified coordinate to a string whose values are rounded to the nearest decimal place according to places.

    Parameters

    • lat: number
    • lon: number
    • Default value places: number = 3

    Returns string

Const toDate

  • toDate(str: string): Date
  • Parameters

    • str: string

    Returns Date

Const toDirectionLong

  • toDirectionLong(dir: string): string
  • Parameters

    • dir: string

    Returns string

Const toName

  • toName(str: string): string
  • Returns a new string by formatting the specified string as a place name.

    Parameters

    • str: string

    Returns string

Const toQueryStr

  • toQueryStr(obj: any): string
  • Parameters

    • obj: any

    Returns string

Const toRGB

  • toRGB(value: any): RGB
  • Given a string or object, convert that input to RGB.

    Parameters

    • value: any

    Returns RGB

Const toRangeStr

  • toRangeStr(min: number, max: number, valueInterval: number): string
  • Parameters

    • min: number
    • max: number
    • valueInterval: number

    Returns string

Const toTimeOffsetHours

  • toTimeOffsetHours(str: string): number
  • Parameters

    • str: string

    Returns number

Const toTimeStr

  • toTimeStr(date: Date, from?: Date): string
  • Parameters

    • date: Date
    • Optional from: Date

    Returns string

Const toType

  • toType(a: any): any
  • Parameters

    • a: any

    Returns any

Const toTypeName

  • toTypeName(o: any): any
  • Parameters

    • o: any

    Returns any

Const toUTC

  • toUTC(date: Date): Date
  • Parameters

    • date: Date

    Returns Date

Const ucfirst

  • ucfirst(str: string): string
  • Returns a new string by capitalizing the first letter in the specified string.

    Parameters

    • str: string

    Returns string

Const ucwords

  • ucwords(str: string): string
  • Returns a new string by capitalizing the first letter of each word in the specified string.

    Parameters

    • str: string

    Returns string

Const unique

  • unique(ar: any): any
  • Parameters

    • ar: any

    Returns any

Const unitsForDataType

  • unitsForDataType(type: string, isMetric?: boolean): string
  • Parameters

    • type: string
    • Default value isMetric: boolean = false

    Returns string

Const unitsForProp

  • unitsForProp(prop: string, isMetric: boolean): string
  • Parameters

    • prop: string
    • isMetric: boolean

    Returns string

utils

  • utils(): Promise<any>
  • Returns Promise<any>

Const valueForIndice

  • valueForIndice(type: Types, value: number | string): number
  • Parameters

    • type: Types
    • value: number | string

    Returns number

Const viewportSizeClass

Const windbarb

  • windbarb(windSpeed: number, windGust: number, direction?: number): string
  • Parameters

    • windSpeed: number
    • windGust: number
    • Default value direction: number = 0

    Returns string

Const windowSize

  • windowSize(): { height: number; width: number }
  • Returns { height: number; width: number }

    • height: number
    • width: number

Const wrap

  • wrap(value: number, min: number, max: number): number
  • Wraps a value so that it's within the specified range.

    Parameters

    • value: number
    • min: number
    • max: number

    Returns number

Const zoomRouteView

  • zoomRouteView(onClick?: () => void): { id: string; static: boolean; init: any; renderer: any }
  • Parameters

    • Optional onClick: () => void
        • (): void
        • Returns void

    Returns { id: string; static: boolean; init: any; renderer: any }

    • id: string
    • static: boolean
    • init: function
      • Parameters

        Returns void

    • renderer: function
      • renderer(): string
      • Returns string

Object literals

Const COLORS

COLORS: object

temps

temps: [number, string][] = [[-60, '#8f00ca'],[-55, '#7900a1'],[-50, '#630078'],[-45, '#840088'],[-40, '#a50099'],[-35, '#c900ba'],[-30, '#ed00dc'],[-25, '#f138ed'],[-20, '#f671ff'],[-15, '#e999f6'],[-10, '#dcc1ed'],[-5, '#7b60b4'],[0, '#1b007b'],[5, '#4428bd'],[10, '#6e51ff'],[15, '#8483ff'],[20, '#9bb6ff'],[25, '#59adfd'],[30, '#18a5fc'],[35, '#1052f1'],[40, '#0900e7'],[45, '#0e5873'],[50, '#14b000'],[55, '#84c204'],[60, '#f5d508'],[65, '#eba304'],[70, '#e17200'],[75, '#ea5200'],[80, '#f33300'],[85, '#e11900'],[90, '#d00000'],[95, '#a10000'],[100, '#720000'],[105, '#a00023'],[110, '#ce0046'],[115, '#e6256f'],[120, '#ff4b98']]

winds

winds: [number, string][] = [[2, '#0050ff'],[3, '#007bff'],[4, '#1087ff'],[6, '#17b7fe'],[8, '#1bd3ff'],[10, '#34ff87'],[12.5, '#72ff09'],[15, '#b4ff08'],[17.5, '#efff0b'],[20, '#fee20a'],[25, '#f0b90a'],[30, '#ed9909'],[35, '#fd8609'],[40, '#fd5d08'],[45, '#fb3706'],[50, '#fb311b'],[55, '#fb2e28'],[60, '#fb2b36'],[65, '#fb3c44'],[70, '#fb4d53'],[75, '#fc5e63'],[80, '#fd7074'],[85, '#f87b7e'],[90, '#f48688'],[95, '#f09092'],[100, '#ec9a9c']]

Const CONTROL_TYPES

CONTROL_TYPES: object

opacity

opacity: object

label

label: string = "Opacity"

type

type: string = "slider"

options

options: object

dots

dots: boolean = false

marksEvery

marksEvery: string = "% 50"

step

step: number = 5

value

value: number[] = [100]

marksFormatter

  • marksFormatter(v: number): string
  • Parameters

    • v: number

    Returns string

tooltip

  • tooltip(value: number): string
  • Parameters

    • value: number

    Returns string

range

range: object

max

max: number = 100

min

min: number = 0

Const DEFAULT_STYLE

DEFAULT_STYLE: object

marker

marker: object

size

size: number[] = [6, 6]

svg

svg: object

shape

shape: object

type

type: string = "circle"

fill

fill: object

color

color: string = "#000"

polygon

polygon: object

fill

fill: object

color

color: string = "#000"

opacity

opacity: number = 1

stroke

stroke: object

color

color: string = "#000"

width

width: number = 2

polyline

polyline: object

stroke

stroke: object

color

color: string = "#000"

width

width: number = 2

Const MAPPING

MAPPING: object

air-quality

air-quality: LayerOptions = airquality

convective

convective: LayerOptions = convectiveOutlook

drought-monitor

drought-monitor: LayerOptions = droughtMonitor

earthquakes

earthquakes: LayerOptions

fire-outlook

fire-outlook: LayerOptions = fireOutlook

fires

fires: LayerOptions

lightning-strikes

lightning-strikes: LayerOptions = lightningStrikes

records

records: LayerOptions

river-observations

river-observations: LayerOptions = rivers

stormcells

stormcells: LayerOptions

stormreports

stormreports: LayerOptions

text

text: LayerOptions

Const PROP_MAPPING

PROP_MAPPING: object

dewpt

dewpt: string[] = ['dewpointF', 'dewpointC']

feelslike

feelslike: string[] = ['feelslikeF', 'feelslikeC']

humidity

humidity: string[] = ['humidity', 'humidity']

precip

precip: string[] = ['precipIN', 'precipMM']

sky

sky: string[] = ['sky', 'sky']

temps

temps: string[] = ['tempF', 'tempC']

weather

weather: string[] = ['weatherPrimary', 'weatherPrimary']

windgusts

windgusts: string[] = ['windGustMPH', 'windGustKPH']

winds

winds: string[] = ['windSpeedMPH', 'windSpeedKPH']

Const WEATHER

WEATHER: object

fog

fog: string = "#f2cc00"

ice

ice: string = "#f200b9"

mix

mix: string = "#a604dc"

rain

rain: string = "#03be17"

snow

snow: string = "#0465dc"

storms

storms: string = "#ce0000"

Const WEATHER_SEGMENTS

WEATHER_SEGMENTS: object

alerts

alerts: object

title

title: string = "Alerts"

value

value: string = "alerts"

temps

temps: object

title

title: string = "Temperatures"

value

value: string = "temps"

weather

weather: object

title

title: string = "Weather"

value

value: string = "weather"

windgusts

windgusts: object

title

title: string = "Wind Gusts"

value

value: string = "windgusts"

winds

winds: object

title

title: string = "Wind Speeds"

value

value: string = "winds"

Const cachedInfoPanelViews

cachedInfoPanelViews: object

alerts

alerts: object

id

id: string = "alerts"

requiresData

requiresData: true = true

data

  • data(data: any): any
  • Parameters

    • data: any

    Returns any

renderer

  • renderer(data: any): string
  • Parameters

    • data: any

    Returns string

request

  • Parameters

    Returns ApiRequest

forecast

forecast: object

id

id: string = "forecast"

requiresData

requiresData: true = true

data

  • data(data: any): any
  • Parameters

    • data: any

    Returns any

renderer

  • renderer(data: any): any
  • Parameters

    • data: any

    Returns any

request

  • Parameters

    Returns ApiRequest

hazards

hazards: object

id

id: string = "hazards"

requiresData

requiresData: true = true

data

  • data(data: any, config?: any): any
  • Parameters

    • data: any
    • Default value config: any = {}

    Returns any

renderer

  • renderer(data: any): string
  • Parameters

    • data: any

    Returns string

request

  • Parameters

    • account: Account
    • data: any
    • Default value config: any = {}

    Returns ApiRequest

config

config: object

lightning

lightning: boolean = false

obs

obs: object

id

id: string = "observations"

requiresData

requiresData: true = true

data

  • data(data: any): any
  • Parameters

    • data: any

    Returns any

renderer

  • renderer(data: any): string
  • Parameters

    • data: any

    Returns string

request

  • Parameters

    Returns ApiRequest

outlook

outlook: object

id

id: string = "outlook"

requiresData

requiresData: true = true

data

  • data(data: any): any
  • Parameters

    • data: any

    Returns any

renderer

  • renderer(data: any): string
  • Parameters

    • data: any

    Returns string

request

  • Parameters

    Returns ApiRequest

place

place: object

id

id: string = "place"

requiresData

requiresData: true = true

data

  • data(data: any): any
  • Parameters

    • data: any

    Returns any

renderer

  • renderer(data: any): string
  • Parameters

    • data: any

    Returns string

request

  • Parameters

    Returns ApiRequest

threats

threats: object

id

id: string = "threats"

requiresData

requiresData: true = true

data

  • data(data: any): any
  • Parameters

    • data: any

    Returns any

renderer

  • renderer(data: any): string
  • Parameters

    • data: any

    Returns string

request

  • Parameters

    Returns ApiRequest

units

units: object

id

id: string = "units"

static

static: true = true

init

renderer

  • renderer(data: any): string
  • Parameters

    • data: any

    Returns string

Const colors

colors: object

CONVECTIVE

CONVECTIVE: string = "#e90000"

ICE

ICE: string = "#2452e9"

IFR

IFR: string = "#fa0708"

LIFR

LIFR: string = "#fb06ff"

MVFR

MVFR: string = "#1c56cf"

TS

TS: string = "#ffe300"

TURB

TURB: string = "#e98e00"

VFR

VFR: string = "#1bbe08"

Const coverage

coverage: object

continuous

continuous: string[] = ['NM', 'FQ']

forecast

forecast: string[] = ['C', 'D', 'L', 'S', 'VC', 'WD']

intermittent

intermittent: string[] = ['AR', 'BR', 'IN', 'IS', 'O', 'PA', 'PD', 'SC']

Const flightRuleColors

flightRuleColors: object

IFR

IFR: string = "#fa0708"

LIFR

LIFR: string = "#fb06ff"

MVFR

MVFR: string = "#1c56cf"

VFR

VFR: string = "#1bbe08"

Const icons

icons: object

blowingDustOrSand

blowingDustOrSand: object

coverage

coverage: string[] = [null, 'forecast', 'intermittent', 'continuous']

icon

icon: string = Icons.dustOrSand

intensity

intensity: string[] = [null, 'slight', 'moderate', 'heavy']

weather

weather: string[] = ['blowingDustOrSand']

continuousFog

continuousFog: object

coverage

coverage: string[] = ['continuous']

icon

icon: string = Icons.continuousFog

intensity

intensity: string[] = [null, 'slight', 'moderate', 'heavy']

weather

weather: string[] = ['fog']

distantLightning

distantLightning: object

coverage

coverage: string[] = [null, 'forecast', 'intermittent', 'continuous']

icon

icon: string = Icons.distantLightning

intensity

intensity: string[] = [null, 'slight', 'moderate', 'heavy']

weather

weather: string[] = ['distantLightning']

drizzleFreezingHeavy

drizzleFreezingHeavy: object

coverage

coverage: string[] = [null, 'intermittent', 'continuous']

icon

icon: string = Icons.drizzleFreezingHeavy

intensity

intensity: string[] = ['heavy']

weather

weather: string[] = ['freezingDrizzle']

drizzleFreezingSlight

drizzleFreezingSlight: object

coverage

coverage: string[] = [null, 'intermittent', 'continuous']

icon

icon: string = Icons.drizzleFreezingSlight

intensity

intensity: string[] = [null, 'slight']

weather

weather: string[] = ['freezingDrizzle']

drizzleHeavyContinuous

drizzleHeavyContinuous: object

coverage

coverage: string[] = ['continuous']

icon

icon: string = Icons.drizzleHeavyContinuous

intensity

intensity: string[] = [null, 'heavy']

weather

weather: string[] = ['drizzle']

drizzleHeavyIntermittent

drizzleHeavyIntermittent: object

coverage

coverage: string[] = [null, 'intermittent']

icon

icon: string = Icons.drizzleHeavyIntermittent

intensity

intensity: string[] = [null, 'heavy']

weather

weather: string[] = ['drizzle']

drizzleModerateContinuous

drizzleModerateContinuous: object

coverage

coverage: string[] = ['continuous']

icon

icon: string = Icons.drizzleModerateContinuous

intensity

intensity: string[] = [null, 'moderate']

weather

weather: string[] = ['drizzle']

drizzleModerateIntermittent

drizzleModerateIntermittent: object

coverage

coverage: string[] = [null, 'intermittent']

icon

icon: string = Icons.drizzleModerateIntermittent

intensity

intensity: string[] = [null, 'moderate']

weather

weather: string[] = ['drizzle']

drizzleSlightContinuous

drizzleSlightContinuous: object

coverage

coverage: string[] = ['continuous']

icon

icon: string = Icons.drizzleSlightContinuous

intensity

intensity: string[] = ['slight']

weather

weather: string[] = ['drizzle']

drizzleSlightIntermittent

drizzleSlightIntermittent: object

coverage

coverage: string[] = [null, 'intermittent']

icon

icon: string = Icons.drizzleSlightIntermittent

intensity

intensity: string[] = ['slight']

weather

weather: string[] = ['drizzle']

freezingRainModerateOrHeavy

freezingRainModerateOrHeavy: object

coverage

coverage: string[] = [null, 'intermittent', 'continuous']

icon

icon: string = Icons.rainFreezingModerateOrHeavy

intensity

intensity: string[] = ['moderate', 'heavy']

weather

weather: string[] = ['freezingRain']

freezingRainSlight

freezingRainSlight: object

coverage

coverage: string[] = [null, 'intermittent', 'continuous']

icon

icon: string = Icons.rainFreezingSlight

intensity

intensity: string[] = ['slight']

weather

weather: string[] = ['freezingRain']

haze

haze: object

coverage

coverage: string[] = [null, 'intermittent', 'continuous']

icon

icon: string = Icons.haze

intensity

intensity: string[] = [null, 'slight', 'moderate', 'heavy']

weather

weather: string[] = ['haze']

iceCrystals

iceCrystals: object

coverage

coverage: string[] = [null, 'intermittent', 'continuous']

icon

icon: string = Icons.iceCrystals

intensity

intensity: string[] = [null, 'slight', 'moderate', 'heavy']

weather

weather: string[] = ['iceCrystals']

icePellets

icePellets: object

coverage

coverage: string[] = [null, 'intermittent', 'continuous']

icon

icon: string = Icons.icePellets

intensity

intensity: string[] = [null, 'slight', 'moderate', 'heavy']

weather

weather: string[] = ['icePellets']

intermittentSlightRain

intermittentSlightRain: object

coverage

coverage: string[] = ['intermittent']

icon

icon: string = Icons.rainSlightIntermittent

intensity

intensity: string[] = ['slight']

weather

weather: string[] = ['rain']

lightFog

lightFog: object

coverage

coverage: string[] = [null, 'intermittent']

icon

icon: string = Icons.lightFog

intensity

intensity: string[] = [null, 'slight', 'moderate']

weather

weather: string[] = ['fog']

mist

mist: object

coverage

coverage: string[] = [null, 'intermittent', 'continuous']

icon

icon: string = Icons.lightFog

intensity

intensity: string[] = [null, 'slight', 'moderate', 'heavy']

weather

weather: string[] = ['mist']

rainHeavyContinuous

rainHeavyContinuous: object

coverage

coverage: string[] = ['continuous']

icon

icon: string = Icons.rainHeavyContinuous

intensity

intensity: string[] = ['heavy']

weather

weather: string[] = ['rain']

rainHeavyIntermittent

rainHeavyIntermittent: object

coverage

coverage: string[] = [null, 'intermittent']

icon

icon: string = Icons.rainHeavyIntermittent

intensity

intensity: string[] = ['heavy']

weather

weather: string[] = ['rain']

rainModerateContinous

rainModerateContinous: object

coverage

coverage: string[] = ['continuous']

icon

icon: string = Icons.rainModerateContinuous

intensity

intensity: string[] = [null, 'moderate']

weather

weather: string[] = ['rain']

rainModerateIntermittent

rainModerateIntermittent: object

coverage

coverage: string[] = [null, 'intermittent']

icon

icon: string = Icons.rainModerateIntermittent

intensity

intensity: string[] = ['moderate']

weather

weather: string[] = ['rain']

rainOrDrizzleAndSnowModerateOrHeavy

rainOrDrizzleAndSnowModerateOrHeavy: object

coverage

coverage: string[] = [null, 'intermittent', 'continuous']

icon

icon: string = Icons.rainOrDrizzleAndSnowModerateOrHeavy

intensity

intensity: string[] = ['moderate', 'heavy']

weather

weather: string[] = ['rainAndSnow']

rainOrDrizzleAndSnowSlight

rainOrDrizzleAndSnowSlight: object

coverage

coverage: string[] = [null, 'intermittent']

icon

icon: string = Icons.rainOrDrizzleAndSnowSlight

intensity

intensity: string[] = ['slight']

weather

weather: string[] = ['rainAndSnow']

rainShowersModerateOrHeavy

rainShowersModerateOrHeavy: object

coverage

coverage: string[] = [null, 'intermittent', 'continuous']

icon

icon: string = Icons.rainShowersModerateOrHeavy

intensity

intensity: string[] = [null, 'moderate', 'heavy']

weather

weather: string[] = ['rainShowers']

rainShowersSlight

rainShowersSlight: object

coverage

coverage: string[] = [null, 'intermittent', 'continuous']

icon

icon: string = Icons.rainShowersSlight

intensity

intensity: string[] = ['slight']

weather

weather: string[] = ['rainShowers']

rainSlightContinuous

rainSlightContinuous: object

coverage

coverage: string[] = [null, 'continuous']

icon

icon: string = Icons.rainSlightContinuous

intensity

intensity: string[] = [null, 'slight']

weather

weather: string[] = ['rain']

smoke

smoke: object

coverage

coverage: string[] = [null, 'intermittent', 'continuous']

icon

icon: string = Icons.smoke

intensity

intensity: string[] = [null, 'slight', 'moderate', 'heavy']

weather

weather: string[] = ['smoke']

snowContinuousSlight

snowContinuousSlight: object

coverage

coverage: string[] = [null, 'continuous']

icon

icon: string = Icons.snowContinuousSlight

intensity

intensity: string[] = [null, 'slight']

weather

weather: string[] = ['snow']

snowHeavyContinuous

snowHeavyContinuous: object

coverage

coverage: string[] = [null, 'continuous']

icon

icon: string = Icons.snowHeavyContinuous

intensity

intensity: string[] = ['heavy']

weather

weather: string[] = ['snow']

snowHeavyIntermittents

snowHeavyIntermittents: object

coverage

coverage: string[] = ['intermittent']

icon

icon: string = Icons.snowHeavyIntermittent

intensity

intensity: string[] = ['heavy']

weather

weather: string[] = ['snow']

snowIntermittentSlight

snowIntermittentSlight: object

coverage

coverage: string[] = [null, 'intermittent']

icon

icon: string = Icons.snowIntermittentSlight

intensity

intensity: string[] = ['slight']

weather

weather: string[] = ['snow']

snowModerateContinuous

snowModerateContinuous: object

coverage

coverage: string[] = ['continuous']

icon

icon: string = Icons.snowModerateContinuous

intensity

intensity: string[] = ['moderate']

weather

weather: string[] = ['snow']

squalls

squalls: object

coverage

coverage: string[] = [null, 'forecast', 'intermittent', 'continuous']

icon

icon: string = Icons.squalls

intensity

intensity: string[] = [null, 'slight', 'moderate', 'heavy']

weather

weather: string[] = ['squalls']

thunderstormsHeavy

thunderstormsHeavy: object

coverage

coverage: string[] = [null, 'intermittent', 'continuous']

icon

icon: string = Icons.heavyThunderstormWithRain

intensity

intensity: string[] = ['heavy']

weather

weather: string[] = ['thunderstorms']

thunderstormsSlightOrModerate

thunderstormsSlightOrModerate: object

coverage

coverage: string[] = [null, 'intermittent', 'continuous']

icon

icon: string = Icons.slightThunderstormWithRain

intensity

intensity: string[] = [null, 'slight', 'moderate']

weather

weather: string[] = ['thunderstorms']

tornado

tornado: object

coverage

coverage: string[] = [null, 'forecast', 'intermittent', 'continuous']

icon

icon: string = Icons.tornado

intensity

intensity: string[] = [null, 'slight', 'moderate', 'heavy']

weather

weather: string[] = ['tornado']

vicinityThunderstorm

vicinityThunderstorm: object

coverage

coverage: string[] = ['forecast']

icon

icon: string = Icons.distantLightning

intensity

intensity: string[] = [null, 'slight', 'moderate', 'heavy']

weather

weather: string[] = ['thunderstorms']

virga

virga: object

coverage

coverage: string[] = [null, 'forecast', 'intermittent', 'continuous']

icon

icon: string = Icons.virga

intensity

intensity: string[] = [null, 'slight', 'moderate', 'heavy']

weather

weather: string[] = ['virga']

Const intensity

intensity: object

heavy

heavy: string[] = ['H', 'VH']

slight

slight: string[] = ['VL', 'L']

Const layerToModuleMapping

layerToModuleMapping: object

tropical-cyclones

tropical-cyclones: string = "tropical.Systems"

tropical-cyclones-break-points

tropical-cyclones-break-points: string = "tropical.Breakpoints"

Const servers

servers: object

api

api: string = "https://data.api.xweather.com"

maps

maps: string = "https://maps.api.xweather.com"

Const symbols

symbols: object

0

  • 0(color: string): string
  • Parameters

    • color: string

    Returns string

1

  • 1(color: string): string
  • Parameters

    • color: string

    Returns string

2

  • 2(color: string): string
  • Parameters

    • color: string

    Returns string

3

  • 3(color: string): string
  • Parameters

    • color: string

    Returns string

4

  • 4(color: string): string
  • Parameters

    • color: string

    Returns string

5

  • 5(color: string): string
  • Parameters

    • color: string

    Returns string

6

  • 6(color: string): string
  • Parameters

    • color: string

    Returns string

7

  • 7(color: string): string
  • Parameters

    • color: string

    Returns string

8

  • 8(color: string): string
  • Parameters

    • color: string

    Returns string

9

  • 9(color: string): string
  • Parameters

    • color: string

    Returns string

missing

  • missing(color: string): string
  • Parameters

    • color: string

    Returns string

Const weather

weather: object

blowingDustOrSand

blowingDustOrSand: string[] = ['BD', 'BS']

drizzle

drizzle: string[] = ['L']

fog

fog: string[] = ['F']

freezingDrizzle

freezingDrizzle: string[] = ['ZL']

freezingRain

freezingRain: string[] = ['ZR']

hail

hail: string[] = ['A']

haze

haze: string[] = ['H']

iceCrystals

iceCrystals: string[] = ['IC']

icePellets

icePellets: string[] = ['IP']

mist

mist: string[] = ['BR']

rain

rain: string[] = ['R']

rainAndSnow

rainAndSnow: string[] = ['RS', 'WM', 'SI']

rainShowers

rainShowers: string[] = ['RW']

smoke

smoke: string[] = ['K', 'VA']

snow

snow: string[] = ['BS', 'S']

thunderstorms

thunderstorms: string[] = ['T']

Const windFieldColors

windFieldColors: object

34

34: string = "#ffff00"

50

50: string = "#FFA500"

64

64: string = "#FF0000"

Generated using TypeDoc