ShapeSettings

23 Sep 20251 minute to read

Gets or sets the options to customize the shapes in the maps.

Properties

autofill boolean

Enables or disables the filling of color, based on the palette, for the shapes automatically.

Defaults to false

border BorderModel

Gets or sets the options for customizing the style properties of the border for the shapes in maps.

borderColorValuePath string

Gets or sets the field name from the data source to set the color for the border of a particular shape in maps.

Defaults to null

borderWidthValuePath string

Gets or sets the field name from the data source to set the width for the border of a particular shape in maps.

Defaults to null

circleRadius number

Gets or sets the radius of the “Point” and “MultiPoint” geometry shapes.
This property will be applicable only when the GeoJSON data has “Point” and “MultiPoint” geometry types.

colorMapping ColorMappingSettingsModel[]

Gets or sets the options to map the color for some set of the shapes in maps.

Defaults to []

colorValuePath string

Gets or sets the field name from the data source to set the color for the shapes in maps.

Defaults to null

dashArray string

Gets or sets the dash-array for the shapes in maps.

fill string

Gets or sets the color of the shapes in maps.

Defaults to null

opacity number

Gets or sets the opacity for the shapes in maps.

Defaults to 1

palette string[]

Gets or sets a set of colors for the shapes in maps.

Defaults to []

valuePath string

Gets or sets the value from the data source based on which the shape gets rendered.

Defaults to null