Pressure layer

The PressureLayer shows the atmospheric pressure in millibar (mbar) or hectopascal (hPa). Forecast for air pressure at mean sea level.

Pressure layer

Example

Parameters

Options to provide to the Layer constructor (PressureLayerOptions)

Properties

options.id
default: "MapTiler Pressure"
ID of the layer
options.colorramp
ColorRamp
default: ColorRamp.builtin.PRESSURE_2
Colormap to use. Maximum range possible spans from 900hPa to 1080hPa. Default spans from 900hPa to 1080hPa
options.opacity
default: 1
Opacity of the layer in [0, 1]
options.smooth
default: true
Whether or not the colorramp must be smooth

Methods

Check out the Layers method reference

Events

Check out the Layers events reference

The Weather JS module can only be used with the MapTiler SDK.