---
title: "PressureLayerOptions | Weather SDK | JavaScript maps SDK"
description: "Documentation for Weather JS"
---

# Type Alias PressureLayerOptions

Options for the PressureLayer

type PressureLayerOptions \= {  
    [colorramp](#colorramp)?: [ColorRamp](https://docs.maptiler.com/sdk-js/modules/weather/api-reference/classes/ColorRamp/);  
    [id](#id)?: string;  
    [opacity](#opacity)?: number;  
    [smooth](#smooth)?: boolean;  
}

##### Index

### Properties

[colorramp?](#colorramp) [id?](#id) [opacity?](#opacity) [smooth?](#smooth)

## Properties

### `Optional`colorramp[](#colorramp)

colorramp?: [ColorRamp](https://docs.maptiler.com/sdk-js/modules/weather/api-reference/classes/ColorRamp/)

Colormap to use

### `Optional`id[](#id)

id?: string

ID of the layer

### `Optional`opacity[](#opacity)

opacity?: number

Opacity of the layer in \[0, 1\]

### `Optional`smooth[](#smooth)

smooth?: boolean

Whether or not the colorramp must be smooth
