Hardware-accelerated geospatial data plotting in the browser
autumnplot-gl • Docs
autumnplot-gl / ContourFill
A filled contoured field
// Create a field of filled contours with the provided color map
const fill = new ContourFill(wind_speed_field, {cmap: color_map});
PlotComponentFill
<ArrayType
, MapType
>• ArrayType extends TypedArray
• MapType extends MapLikeType
new ContourFill<
ArrayType
,MapType
>(field
,opts
):ContourFill
<ArrayType
,MapType
>
Create a filled contoured field
• field: RawScalarField
<ArrayType
>
The field to create filled contours from
• opts: ContourFillOptions
Options for creating the filled contours
ContourFill
<ArrayType
, MapType
>
PlotComponentFill<ArrayType, MapType>.constructor
protected
cmap_mag_filter:null
|number
PlotComponentFill.cmap_mag_filter
protected
image_mag_filter:null
|number
PlotComponentFill.image_mag_filter
readonly
opts:Required
<ContourFillOptions
>
PlotComponentFill.opts
updateField(
field
):Promise
<void
>
Update the data displayed as filled contours
• field: RawScalarField
<ArrayType
>
The new field to display as filled contours
Promise
<void
>
PlotComponentFill.updateField