Skip to main content

Interface: BarbsOptions

Defined in: Barbs.ts:131

Options for Barbs components

Properties

PropertyTypeDescriptionDefined in
barb_size_multiplier?numberA multiplier for the barb size Default 1Barbs.ts:153
cmap?null | ColorMapA color map to use to color the barbs by magnitude. Specifying cmap overrides the color argument.Barbs.ts:141
color?stringThe color to use for the barbs as a hex color string;. Default '#000000'Barbs.ts:136
line_width?numberThe width of the lines to use for the barbs Default 2Barbs.ts:147
thin_fac?numberHow much to thin the barbs at zoom level 1 on the map. This effectively means to plot every nth barb in the i and j directions, where n = thin_fac. thin_fac should be a power of 2. Default 1Barbs.ts:160