autumnplot-gl

Hardware-accelerated geospatial data plotting in the browser


Project maintained by tsupinie Hosted on GitHub Pages — Theme by mattgraham

autumnplot-glDocs


autumnplot-gl / ContourFill

Class: ContourFill<ArrayType, MapType>

A filled contoured field

Example

// Create a field of filled contours with the provided color map
const fill = new ContourFill(wind_speed_field, {cmap: color_map});

Extends

Type parameters

ArrayType extends TypedArray

MapType extends MapLikeType

Constructors

new ContourFill()

new ContourFill<ArrayType, MapType>(field, opts): ContourFill<ArrayType, MapType>

Create a filled contoured field

Parameters

field: RawScalarField<ArrayType>

The field to create filled contours from

opts: ContourFillOptions

Options for creating the filled contours

Returns

ContourFill<ArrayType, MapType>

Overrides

PlotComponentFill<ArrayType, MapType>.constructor

Source

Fill.ts:219

Properties

cmap_mag_filter

protected cmap_mag_filter: null | number

Inherited from

PlotComponentFill.cmap_mag_filter

Source

Fill.ts:65


image_mag_filter

protected image_mag_filter: null | number

Inherited from

PlotComponentFill.image_mag_filter

Source

Fill.ts:64


opts

readonly opts: Required<ContourFillOptions>

Inherited from

PlotComponentFill.opts

Source

Fill.ts:58

Methods

updateField()

updateField(field): Promise<void>

Update the data displayed as filled contours

Parameters

field: RawScalarField<ArrayType>

The new field to display as filled contours

Returns

Promise<void>

Overrides

PlotComponentFill.updateField

Source

Fill.ts:227